Skip to content

Commit

Permalink
#33 Remove the link to the production ready files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Dec 14, 2020
1 parent efc8b6f commit 684dace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions app/preview.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
$(document).ready(function () {
$(window).on("load", function() {
// Create a link to the production ready files
var workflowButton = $("#workflow-button");
var linkToProduction = $("#jatsParser__linkToProduction");
var productionButton = $("#ui-id-7");

linkToProduction.click(function () {
workflowButton.trigger("click");
productionButton.trigger("click");
});
});
});

$(document).ready(function () {
// Create a link to preview based on checked option
var linkToPreview = $("#jatsParser__linkPreview");
Expand Down
4 changes: 2 additions & 2 deletions locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<message key="plugins.generic.jatsParser.publication.jats.fulltext">Full-text upload</message>
<message key="plugins.generic.jatsParser.publication.jats.fulltext.success">Full-text upload successful</message>
<message key="plugins.generic.jatsParser.publication.jats.label">Generate article's fulltext from submission file in JATS XML format</message>
<message key="plugins.generic.jatsParser.publication.jats.description"><![CDATA[The file can be uploaded as a <a href="#workflow" id="jatsParser__linkToProduction">production ready</a> to be listed below. To see the preview, please, follow the <a id="jatsParser__linkPreview" href="{$previewPath}" target="_blank">link</a> after choosing an item from the list.]]></message>
<message key="plugins.generic.jatsParser.publication.jats.descriptionEmpty"><![CDATA[The list of JATS XML files is empty. Please, upload the file to the <a href="#workflow" id="jatsParser__linkToProduction">production stage</a> and it will appear below for full-text generation.]]></message>
<message key="plugins.generic.jatsParser.publication.jats.description"><![CDATA[The file can be uploaded as a production ready to be listed below. To see the preview, please, follow the <a id="jatsParser__linkPreview" href="{$previewPath}" target="_blank">link</a> after choosing an item from the list.]]></message>
<message key="plugins.generic.jatsParser.publication.jats.descriptionEmpty"><![CDATA[The list of JATS XML files is empty. Please, upload the file to the production stage and it will appear below for full-text generation.]]></message>
<message key="plugins.generic.jatsParser.publication.jats.references.label">Retrieve references from JATS XML?</message>
<message key="plugins.generic.jatsParser.publication.jats.references.description">Reference list will be retrieved from JATS XML and saved as a part of the publication. If references are already included into the publication, they are going to be rewritten.</message>
<message key="plugins.generic.jatsParser.publication.jats.links.label">Format in-text links to references?</message>
Expand Down

0 comments on commit 684dace

Please sign in to comment.