summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_save.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2021-04-13 19:02:19 +0000
committerbnewbold <bnewbold@archive.org>2021-04-13 19:02:19 +0000
commit7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5 (patch)
tree2c7ff27a124e87d9d4dd7f71294f79609717236b /python/fatcat_web/templates/release_save.html
parent83ae1d85d093f1f37bba74283b1d689bb1f1c346 (diff)
parent34afb00666814d7bcb5c29085a25353986ea805d (diff)
downloadfatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.tar.gz
fatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.zip
Merge branch 'bnewbold-ui-tweaks-202104' into 'master'
Misc UI tweaks (2021-04) See merge request webgroup/fatcat!103
Diffstat (limited to 'python/fatcat_web/templates/release_save.html')
-rw-r--r--python/fatcat_web/templates/release_save.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/release_save.html b/python/fatcat_web/templates/release_save.html
index 7dd01fc0..c78d0066 100644
--- a/python/fatcat_web/templates/release_save.html
+++ b/python/fatcat_web/templates/release_save.html
@@ -46,11 +46,17 @@
we will attempt to crawl, process, and verify the content and add it to the
catalog.
+ {% if release and release.ext_ids.doi %}
+ {% set syp_suffix = release.ext_ids.doi %}
+ {% else %}
+ {% set syp_suffix = "" %}
+ {% endif %}
+
<p style="margin-top: 1em; margin-bottom: 1em;">If you are the author of this
work, and the published version is not publicly available, another option is
to upload an version to an institutional or discipline repository. The
- <a href="https://shareyourpaper.org/">Share Your Paper</a> tool can help with
- this process.
+ <a href="https://shareyourpaper.org/{{ syp_suffix }}">Share Your Paper</a>
+ tool can help with this process.
<p style="margin-top: 1em; margin-bottom: 1em;"><b>Important:</b>
double-check the publication stage of the file you are submitting. We