Skip to content

Commit

Permalink
#72 Add message for export control during publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
haarli committed Sep 20, 2023
1 parent 42cf282 commit 195aff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,7 @@ dataset.reject.failure=Dataset Submission Return Failed - {0}
dataset.reject.datasetNull=Cannot return the dataset to the author(s) because it is null.
dataset.reject.datasetNotInReview=This dataset cannot be return to the author(s) because the latest version is not In Review. The author(s) needs to click Submit for Review first.
dataset.publish.tip=Are you sure you want to publish this dataset? Once you do so it must remain published.
dataset.publish.exportControl.tip=Make sure you have checked <a href="https://www.bafa.de/SharedDocs/Downloads/EN/Foreign_Trade/ec_awareness_academia.pdf?__blob=publicationFile&v=2" target="_blank">legal specifications for export controls for academic publications</a> by the German Federal Office for Economic Affairs and Export Control.
dataset.publish.terms.tip=This version of the dataset will be published with the following terms:
dataset.publish.terms.help.tip=To change the terms for this version, click the Cancel button and go to the Terms tab for this dataset.
dataset.publish.terms.description=License Description
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,7 @@
<ui:fragment rendered="#{publishDataset}">
<div class="form-group">
<p jsf:rendered="#{valid}" class="col-sm-12 text-warning">#{bundle['dataset.publish.tip']}</p>
<p jsf:rendered="#{valid}" class="col-sm-12 text-warning"><h:outputText value="#{bundle['dataset.publish.exportControl.tip']}" escape="false"/></p>
<p jsf:rendered="#{!valid}" class="col-sm-12 text-warning"><b style="color:red;">#{bundle['dataset.message.incomplete.warning']}</b></p>
<p class="col-sm-12 help-block">#{bundle['dataset.publish.terms.tip']}</p>
</div>
Expand Down

0 comments on commit 195aff3

Please sign in to comment.