From 3c1b5af67eec46f816db48d041c408dead61b5bd Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Jun 2020 13:17:36 -0700 Subject: most links in new tab (target=_blank) --- fatcat_scholar/templates/search_macros.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 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 4b29f01..15748d8 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -18,7 +18,7 @@ {% else %} + style="color: #2224c7;" target="_blank"> {% if paper.biblio.title %} {{ paper.biblio.title[:512] }} {% if paper.biblio.title|length > 512 %}...{% endif %} @@ -48,7 +48,7 @@ {% endif %} {% elif paper.doc_type == "sim_page" %} - Page {{ paper.ia_sim.first_page }} of {{ paper.biblio.container_name }} (Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}) + Page {{ paper.ia_sim.first_page }} of {{ paper.biblio.container_name }} (Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}) {% endif %} @@ -72,9 +72,9 @@ {% if paper.biblio.container_name %} {% if paper.biblio.container_id %} - {{ paper.biblio.container_name }} + {{ paper.biblio.container_name }} {% elif paper.doc_type == "sim_page" %} - {{ paper.biblio.container_name }} + {{ paper.biblio.container_name }} {% else %} {{ paper.biblio.container_name }} {% endif %} @@ -113,19 +113,19 @@ {# ### IDENTIFIERS #} {% if paper.biblio.doi %} - doi:{{ paper.biblio.doi }}   + doi:{{ paper.biblio.doi }}   {% endif %} {% if paper.biblio.pmid %} - pmid:{{ paper.biblio.pmid }}   + pmid:{{ paper.biblio.pmid }}   {% endif %} {% if paper.biblio.pmcid %} - pmcid:{{ paper.biblio.pmcid }}   + pmcid:{{ paper.biblio.pmcid }}   {% endif %} {% if paper.biblio.arxiv_id %} - arXiv:{{ paper.biblio.arxiv_id }}   + arXiv:{{ paper.biblio.arxiv_id }}   {% endif %} {% if paper.biblio.release_ident %} - fatcat:{{ paper.biblio.release_ident}}   + fatcat:{{ paper.biblio.release_ident}}   {% endif %} {# ### SOURCE TAGS #} @@ -135,7 +135,7 @@ {{ _(tag) }} {% endfor %} {# TODO: remove doc for ES 7.x-style lack of type #} - + indexed @@ -146,12 +146,12 @@ {# #} {% if paper.fulltext.thumbnail_url %} {% endif %} - +
{# TODO: could have other hover info, like mimetype icon and file size? #} -- cgit v1.2.3