From 078495ade3eb095d2f2ff5fb5dbd049c39ad9bfe Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Sep 2020 19:40:09 -0700 Subject: web container view: hide preservation when no releases --- python/fatcat_web/templates/container_view.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'python/fatcat_web/templates/container_view.html') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index 8b4ddeb9..9a71fe72 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -65,15 +65,12 @@ -
- Preservation Status
- {% if container._stats.total >= 1 %} - {{ entity_macros.preservation_bar(container._stats.preservation) }} - {{ entity_macros.preservation_small_table(container._stats.preservation) }} - {% endif %} -
{% if container._stats.total >= 1 %} -{% endif %} +
+ Preservation Status
+ {{ entity_macros.preservation_bar(container._stats.preservation) }} + {{ entity_macros.preservation_small_table(container._stats.preservation) }} +
Work Types
@@ -92,6 +89,7 @@
{% endif %} +{% endif %} {% if container.issnl != None or container.wikidata_qid != None %}
-- cgit v1.2.3