aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-07-14 18:38:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-07-14 18:50:29 -0700
commit8bf05b624c228944c4337ce57d0efa9c5ff82dcf (patch)
treee9e35891fc2735565459e5c1a0703b1d70c3a6e2 /python/fatcat_web/templates
parentb53ea00def23fcff27d0bffa8e94376a56538b97 (diff)
downloadfatcat-8bf05b624c228944c4337ce57d0efa9c5ff82dcf.tar.gz
fatcat-8bf05b624c228944c4337ce57d0efa9c5ff82dcf.zip
insert camp-local PDF URL in release entity
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_view.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 52f32fdc..fdb9cadc 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -250,6 +250,10 @@
<span class="ui top attached fluid huge grey button"><i class="file cross icon"></i>No Full Text Available</span>
{% endif %}
+{% if entity.camp_pdf_url %}
+ <a href="{{ entity.camp_pdf_url }}" class="ui top attached fluid huge yellow button"><i class="tree icon"></i>Local Copy</a>
+{% endif %}
+
{% if release.release_type or release.release_stage or release.release_year %}
<div class="ui segment attached">
<b>Type</b> &nbsp;<code>{{ release.release_type or 'unknown' }}</code><br>