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/base.html | 20 ++++++++++---------- fatcat_scholar/templates/home.html | 8 ++++---- fatcat_scholar/templates/search.html | 8 ++++---- fatcat_scholar/templates/search_macros.html | 24 ++++++++++++------------ 4 files changed, 30 insertions(+), 30 deletions(-) (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index b530c26..e8969d0 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -194,12 +194,12 @@

Internet Archive

{% trans trimmed %}We are a 501(c)(3) non-profit, building a digital library of Internet sites and other cultural artifacts in digital form.{% endtrans %} - Other projects include The Wayback Machine, archive.org openlibrary.org and archive-it.org + Other projects include The Wayback Machine, archive.org openlibrary.org and archive-it.org

@@ -218,11 +218,11 @@

Open Infrastructure

diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html index 875c055..26cbea3 100644 --- a/fatcat_scholar/templates/home.html +++ b/fatcat_scholar/templates/home.html @@ -32,7 +32,7 @@
- +
@@ -46,7 +46,7 @@
- +
@@ -60,7 +60,7 @@
- +
@@ -74,7 +74,7 @@
- +
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index 02e169b..cfa4b74 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -78,10 +78,10 @@ {% trans %}We didn't find any documents matching your query{% endtrans %}
{% else %} 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