Skip to content

Commit 2e870e8

Browse files
committed
replaced hard coded strings by new properties
1 parent 04a56e2 commit 2e870e8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/propertyFiles/Bundle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,9 @@ file.editFile=Edit
16901690

16911691
file.actionsBlock=File Actions
16921692
file.accessBtn=Access File
1693+
file.accessBtn.header.access=File Access
16931694
file.accessBtn.header.download=Download Options
1695+
file.accessBtn.header.metadata=Download Metadata
16941696
file.optionsBtn=File Options
16951697
file.optionsBtn.header.edit=Edit Options
16961698
file.optionsBtn.header.configure=Configure Options

src/main/webapp/file-download-button-fragment.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs">
1313

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

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

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

0 commit comments

Comments
 (0)