aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-10-13 19:51:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-10-13 19:51:54 -0700
commit75b81a18969688c111d1a96c6a58374f46153a68 (patch)
tree0509bcece74f343c9182814e6ab831881f8c676a
parent4032dc1ff11dcbbd4d9453749872b28b7188d45d (diff)
downloadfatcat-75b81a18969688c111d1a96c6a58374f46153a68.tar.gz
fatcat-75b81a18969688c111d1a96c6a58374f46153a68.zip
container view: fix non-OA empty box
-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">