Skip to content

Commit

Permalink
standardize on "Restricted with Access Granted" #7400
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Apr 16, 2021
1 parent 20654cd commit d277aa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/main/java/propertyFiles/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ files=Files
file=File
public=Public
restricted=Restricted
restrictedaccess=Restricted Access
restrictedWithAccessGranted=Restricted with Access Granted
restrictedaccess=Restricted with Access Granted
find=Find
search=Search
language=Language
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/file-info-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="file-icon-restricted-block" title="#{bundle['file.metaData.fileAccess']}#{bundle['restricted']}" data-toggle="tooltip" jsf:rendered="#{fileMetadata.restricted and !fileDownloadHelper.canDownloadFile(fileMetadata)}">
<span class="glyphicon glyphicon-lock text-danger"/>
</div>
<div class="file-icon-restricted-block" title="#{bundle['file.metaData.fileAccess']}#{bundle['restrictedWithAccessGranted']}" data-toggle="tooltip" jsf:rendered="#{fileMetadata.restricted and fileDownloadHelper.canDownloadFile(fileMetadata)}">
<div class="file-icon-restricted-block" title="#{bundle['file.metaData.fileAccess']}#{bundle['restrictedaccess']}" data-toggle="tooltip" jsf:rendered="#{fileMetadata.restricted and fileDownloadHelper.canDownloadFile(fileMetadata)}">
<span class="icon-unlock text-success"/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/file.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div id="title-label-block" class="margin-top-half">
<!-- Restricted File Icon -->
<span class="glyphicon glyphicon-lock text-danger" title="#{bundle['restricted']}" data-toggle="tooltip" jsf:rendered="#{FilePage.fileMetadata.restricted and !(fileDownloadHelper.canDownloadFile(FilePage.fileMetadata))}"/>
<span class="icon-unlock text-success" title="#{bundle['restrictedWithAccessGranted']}" data-toggle="tooltip" jsf:rendered="#{FilePage.fileMetadata.restricted and fileDownloadHelper.canDownloadFile(FilePage.fileMetadata) }"/>
<span class="icon-unlock text-success" title="#{bundle['restrictedaccess']}" data-toggle="tooltip" jsf:rendered="#{FilePage.fileMetadata.restricted and fileDownloadHelper.canDownloadFile(FilePage.fileMetadata) }"/>
<!-- DATASET Publication Status -->
<h:outputText value="#{bundle['dataset.versionUI.draft']}" styleClass="label label-primary" rendered="#{FilePage.fileMetadata.datasetVersion.draft}"/>
<h:outputText value="#{bundle['dataset.versionUI.inReview']}" styleClass="label label-success" rendered="#{FilePage.fileMetadata.datasetVersion.inReview}"/>
Expand Down

0 comments on commit d277aa1

Please sign in to comment.