From f0cf8d3391bd4b2282630f5b926ec9de2c8e038d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 21 Jan 2021 17:31:42 -0800 Subject: html: more UI tweaks and fixes --- fatcat_scholar/templates/search_macros.html | 41 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'fatcat_scholar/templates/search_macros.html') diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index a9ac528..75960af 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -64,7 +64,7 @@ {% set access_alt = access_alt + " [" + other_version + "]" %} {% endif %} - {% elif biblio.pmcid %} - @@ -196,7 +196,7 @@

{% if paper.doc_type == "work" %} - + {% if paper.biblio.title %} {{ paper.biblio.title[:512] }} {% if paper.biblio.title|length > 512 %}...{% endif %} @@ -226,9 +226,9 @@ {% endif %} {% elif paper.doc_type == "sim_page" %} - + {% trans page_num = paper.ia_sim.first_page, journal_name = paper.biblio.container_name, volume = paper.biblio.volume, issue = paper.biblio.issue %}Page {{ page_num }} of {{ journal_name }} Vol. {{ volume }}, Issue {{ issue }}{% endtrans %} - + [{{ _("page") }}] {% endif %} @@ -456,7 +456,7 @@ {# ### COLLAPSED HITS #} {% if paper._collapsed_count > 0 %} -