summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-09-17 19:41:52 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-09-17 19:41:55 -0700
commit257f5b55e6d35893dfdf8c5306842db5bb076f3e (patch)
tree10945a068f04c3a36f207fd91a4f4eddeec31724
parent078495ade3eb095d2f2ff5fb5dbd049c39ad9bfe (diff)
downloadfatcat-257f5b55e6d35893dfdf8c5306842db5bb076f3e.tar.gz
fatcat-257f5b55e6d35893dfdf8c5306842db5bb076f3e.zip
container view: only show OA indicator when known
The "is_oa:False" could be that we just don't know; aren't actually distinguishing between false and blank.
-rw-r--r--python/fatcat_web/templates/container_view.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html
index 9a71fe72..91430715 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>