Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/propertyFiles/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,9 @@ file.editFile=Edit

file.actionsBlock=File Actions
file.accessBtn=Access File
file.accessBtn.header.access=File Access
file.accessBtn.header.download=Download Options
file.accessBtn.header.metadata=Download Metadata
file.optionsBtn=File Options
file.optionsBtn.header.edit=Edit Options
file.optionsBtn.header.configure=Configure Options
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/file-download-button-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs">

<!-- Access Status -->
<li class="dropdown-header">File Access <span class="glyphicon glyphicon-file"/></li>
<li class="dropdown-header">#{bundle['file.accessBtn.header.access']} <span class="glyphicon glyphicon-file"/></li>
<li><span class="dropdown-item-text">
<span class="#{!fileMetadata.restricted ?
'glyphicon glyphicon-globe text-success' : (!fileDownloadHelper.canDownloadFile(fileMetadata) ? 'glyphicon glyphicon-lock text-danger' : 'icon-unlock text-success')}"/>
Expand Down Expand Up @@ -211,7 +211,7 @@
<!-- END: CAN DOWNLOAD ACCESS Options -->

<!-- Download Metadata -->
<li class="dropdown-header">Download Metadata <span class="glyphicon glyphicon-download-alt"/></li>
<li class="dropdown-header">#{bundle['file.accessBtn.header.metadata']} <span class="glyphicon glyphicon-download-alt"/></li>

<ui:fragment rendered="#{fileMetadata.dataFile.tabularData and fileDownloadHelper.canDownloadFile(fileMetadata)}">
<li>
Expand Down