JSPUI: fix collection strength display on home page

This commit is contained in:
Ivan Masár
2013-10-18 16:17:58 +02:00
parent 0c180b9601
commit d40d2e8dbc

View File

@@ -195,19 +195,20 @@ if (communities != null && communities.length != 0)
<% } else { %>
<div class="col-md-12">
<% } %>
<h4 class="list-group-item-heading"><a href="<%= request.getContextPath() %>/handle/<%= communities[i].getHandle() %>"><%= communities[i].getMetadata("name") %></a></h4>
<p><%= communities[i].getMetadata("short_description") %></p>
</div>
</div>
<h4 class="list-group-item-heading"><a href="<%= request.getContextPath() %>/handle/<%= communities[i].getHandle() %>"><%= communities[i].getMetadata("name") %></a>
<%
if (ConfigurationManager.getBooleanProperty("webui.strengths.show"))
{
%>
[<%= ic.getCount(communities[i]) %>]
<span class="badge pull-right"><%= ic.getCount(communities[i]) %></span>
<%
}
%>
</h4>
<p><%= communities[i].getMetadata("short_description") %></p>
</div>
</div>
<%
}
%>