summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r--python/fatcat_web/templates/container_view.html20
1 files changed, 7 insertions, 13 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html
index 2d3ef036..32c06a53 100644
--- a/python/fatcat_web/templates/container_view.html
+++ b/python/fatcat_web/templates/container_view.html
@@ -48,11 +48,7 @@
<div class="ui segment top attached">
{% if container._es and container._es.is_oa == True %}
- <i class="icon unlock huge orange"></i><b>Open Access Publisher</b>
- {% elif container._es and container._es.is_oa == False %}
- <i class="icon lock huge black"></i><b>Not Open Access</b>
- {% else %}
- <i class="icon question huge grey"></i><b>Unknown OA Status</b>
+ <i class="icon unlock huge orange"></i><b>Open Access Publication</b>
{% endif %}
</div>
@@ -65,15 +61,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 +85,7 @@
</table>
</div>
{% endif %}
+{% endif %}
{% if container.issnl != None or container.wikidata_qid != None %}
<div class="ui segment attached">