diff options
author | Martin Czygan <martin@archive.org> | 2020-09-29 10:19:30 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2020-09-29 10:19:30 +0000 |
commit | d0f4155bc430d193451472b6c22b6a15e00a5785 (patch) | |
tree | 279951c3c14a1d5bb196744e939b647dd15ca943 /python/fatcat_web/templates/container_view.html | |
parent | 3112fcd6457e318069830d1af7ae6e9512f52f59 (diff) | |
parent | 897fb1921dc0fe9a7506cb7d0e648a17d26f3ee4 (diff) | |
download | fatcat-d0f4155bc430d193451472b6c22b6a15e00a5785.tar.gz fatcat-d0f4155bc430d193451472b6c22b6a15e00a5785.zip |
Merge branch 'bnewbold-202009-polish' into 'master'
fatcat.wiki 2020-09 polish
See merge request webgroup/fatcat!84
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 20 |
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"> |