aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/container_view.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html
index 32c06a53..bdde6715 100644
--- a/python/fatcat_web/templates/container_view.html
+++ b/python/fatcat_web/templates/container_view.html
@@ -46,11 +46,11 @@
</div>
<div class="column" style="flex: 0 0 24em;">
+{% if container._es and container._es.is_oa == True %}
<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 Publication</b>
- {% endif %}
+ <i class="icon unlock huge orange"></i><b>Open Access Publication</b>
</div>
+{% endif %}
{% if container._stats %}
<div class="ui segment attached">