summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-12 16:19:31 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-04-12 17:35:53 -0700
commit3c82729459b4ba8d99000293a5601236c1fea68d (patch)
tree8fc62dd7b5f586e7fcdc21a1d8c13315ef1e4b5c /python/fatcat_web/templates
parent0e4f84d9938c6cf226fac8d2b0d34284a661a071 (diff)
downloadfatcat-3c82729459b4ba8d99000293a5601236c1fea68d.tar.gz
fatcat-3c82729459b4ba8d99000293a5601236c1fea68d.zip
web: better logic for showing 'save-paper-now' link
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_view.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index cc7bfc1b..90ea6592 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -225,7 +225,9 @@ accessible version.
<div class="ui top attached fluid large red inverted center aligned segment" style="padding: 0.5em; border-color: #5550; background-color: #b71818;">
<b>Not Preserved</b>
</div>
+ {% endif %}
+ {% if entity._es.preservation != 'bright' %}
<div class="ui segment attached">
<a href="/release/{{ release.ident }}/save">
<b><i class="cloud download icon"></i>Save Paper Now!</b>