diff options
Diffstat (limited to 'python/fatcat_web')
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 14 |
1 files changed, 6 insertions, 8 deletions
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 @@ </div> </div> </div> -<div class="ui segment attached"> - <b>Preservation Status</b><br> - {% if container._stats.total >= 1 %} - {{ entity_macros.preservation_bar(container._stats.preservation) }} - {{ entity_macros.preservation_small_table(container._stats.preservation) }} - {% endif %} -</div> {% if container._stats.total >= 1 %} -{% endif %} + <div class="ui segment attached"> + <b>Preservation Status</b><br> + {{ entity_macros.preservation_bar(container._stats.preservation) }} + {{ entity_macros.preservation_small_table(container._stats.preservation) }} + </div> <div class="ui segment attached"> <b>Work Types</b><br> <table class="ui very basic very compact collapsing table"> @@ -92,6 +89,7 @@ </table> </div> {% endif %} +{% endif %} {% if container.issnl != None or container.wikidata_qid != None %} <div class="ui segment attached"> |