aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
commit16126c5901c435ea6610eff8b7211226c6f125d5 (patch)
tree429a4772a4990e8158f0dbc9714b02c8b0412f07 /python/fatcat_web/templates/release_view.html
parentf1abe85e8c35a23122f65b47dd55d8135239cf93 (diff)
downloadfatcat-16126c5901c435ea6610eff8b7211226c6f125d5.tar.gz
fatcat-16126c5901c435ea6610eff8b7211226c6f125d5.zip
refactor all entities to new UI style
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r--python/fatcat_web/templates/release_view.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 2212741a..5b019b3c 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -246,7 +246,7 @@
<a href="{{ entity.files[0].urls[0].url }}" class="ui top attached fluid huge green button"><i class="file pdf outline icon"></i>Download Full Text</a>
{% elif entity.state == 'active' and entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %}
<a href="{{ entity.webcaptures[0].archive_urls[0].url }}{{ entity.webcaptures[0]._wayback_suffix }}" class="ui top attached fluid huge green button"><i class="file archive outline icon"></i>View Web Archive</a>
-{% else %}
+{% elif entity.state == 'active' %}
<span class="ui top attached fluid huge grey button"><i class="file cross icon"></i>No Full Text Available</span>
{% endif %}
@@ -390,6 +390,7 @@
</div>
</div>
+
{% endblock %}
{% block postscript %}