summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 22:50:33 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 22:50:33 -0700
commit373f1e17c24f18f84c2fad77ad5ffaf216303a7e (patch)
tree7e7414b4245cec6220684c04d19c697610bcb04d /fatcat_scholar
parent34c7b278e29f7f33b11f11bba1c5d640450a09e9 (diff)
downloadfatcat-scholar-373f1e17c24f18f84c2fad77ad5ffaf216303a7e.tar.gz
fatcat-scholar-373f1e17c24f18f84c2fad77ad5ffaf216303a7e.zip
small HTML simplifications
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/templates/search_macros.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 1368cb0..796193e 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -61,7 +61,8 @@
{% endif %}
{% elif paper.doc_type == "sim_page" %}
- <a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}/page/{{ paper.ia_sim.first_page }}" style="color: #2224c7;">Page {{ paper.ia_sim.first_page }}</a> of <a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}" style="color: #2224c7;">{{ paper.biblio.container_name }}</a> (<a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}" style="color: #2224c7;">Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}</a>)
+ <a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}/page/{{ paper.ia_sim.first_page }}" style="color: #2224c7;">Page {{ paper.ia_sim.first_page }}</a> <a target="_blank" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}" style="color: #2224c7;">of {{ paper.biblio.container_name }} Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}</a>
+ <span style="font-weight: normal; text-transform: uppercase; font-weight: bold;">[{{ _("page") }}]</span>
{% endif %}
</div>
@@ -188,9 +189,8 @@
</a>
</div>
{% endif %}
- <a target="_blank" href="{{ paper.fulltext.access_url}}">
- <div class="fulltext-link" style="width: 100%; opacity: 1.0; text-align: center; overflow: hidden;">
- {# TODO: could have other hover info, like mimetype icon and file size? #}
+ <div class="fulltext-link" style="width: 100%; opacity: 1.0; text-align: center; overflow: hidden;">
+ <a target="_blank" href="{{ paper.fulltext.access_url}}">
<span>
{% if paper.fulltext.access_type == "wayback" %}
web.archive.org
@@ -203,8 +203,8 @@
<i class="film icon" style="margin-right: 0;"></i>
{% endif %}
</span>
- </div>
- </a>
+ </a>
+ </div>
{% else %}
{# No Fulltext #}
{% endif %}