From 0e4f84d9938c6cf226fac8d2b0d34284a661a071 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 12 Apr 2021 16:19:13 -0700 Subject: web: include DOI in share-your-paper URL, when possible --- python/fatcat_web/templates/release_save.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'python/fatcat_web/templates') 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 %} +

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 - Share Your Paper tool can help with - this process. + Share Your Paper + tool can help with this process.

Important: double-check the publication stage of the file you are submitting. We -- cgit v1.2.3