Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
1d63e2f5
Commit
1d63e2f5
authored
Aug 03, 2016
by
Matija Obreza
Browse files
Using the <cms:blurb tag instead of <%@include file="blurb-display.jsp" %>
parent
133dc250
Changes
21
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/tags/cms/blurb.tag
0 → 100644
View file @
1d63e2f5
<%@ tag description="Display a text blurb" pageEncoding="UTF-8" %>
<%@ tag body-content="empty" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="local" tagdir="/WEB-INF/tags"%>
<%@ attribute name="blurb" required="true" type="org.genesys2.server.model.impl.Article" %>
<c:if test="${blurb ne null}">
<div class="free-text blurp" dir="${blurb.lang=='fa' || blurb.lang=='ar' ? 'rtl' : 'ltr'}">
<c:out value="${blurb.body}" escapeXml="false" />
</div>
<c:if test="${blurb.lang != pageContext.response.locale.language}">
<local:not-translated />
</c:if>
</c:if>
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment