Skip to content

Commit

Permalink
Fixed layout of category and tabular tags on the file pg. [ref #2465]
Browse files Browse the repository at this point in the history
  • Loading branch information
mheppler committed Oct 25, 2016
1 parent 012adbf commit 8a99e1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/webapp/file.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,10 @@
<div id="fileDescriptionBlock" class="col-xs-12" jsf:rendered="#{!empty FilePage.fileMetadata.description}">
#{FilePage.fileMetadata.description}
</div>
<div id="fileCategoriesBlock" class="col-xs-12" jsf:rendered="#{!(empty FilePage.fileMetadata.categoriesByName)}">
<div id="fileCategoriesBlock" class="col-xs-12" jsf:rendered="#{!(empty FilePage.fileMetadata.categoriesByName) or !(empty FilePage.fileMetadata.dataFile.tags)}">
<ui:repeat value="#{FilePage.fileMetadata.categoriesByName}" var="tag" rendered="#{!(empty FilePage.fileMetadata.categoriesByName)}">
<h:outputText value="#{tag}" styleClass="label label-default"/>
</ui:repeat>
</div>
<div id="fileDatatagsBlock" class="col-xs-12" jsf:rendered="#{!(empty FilePage.fileMetadata.dataFile.tags)}">
<ui:repeat value="#{FilePage.fileMetadata.dataFile.tags}" var="tag">
<h:outputText value="#{tag.typeLabel}" styleClass="label label-info"/>
</ui:repeat>
Expand Down

0 comments on commit 8a99e1f

Please sign in to comment.