Commit 1d63e2f5 authored by Matija Obreza's avatar Matija Obreza
Browse files

Using the <cms:blurb tag instead of <%@include file="blurb-display.jsp" %>

parent 133dc250
<%@ 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment