From 8274a975d2db3697eb1d69dd22ddcc33592bbbf7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 26 Feb 2021 10:31:08 -0800 Subject: web: release search (SERP) changes - show preservation status instead of fulltext tag - more external identifiers --- python/fatcat_web/templates/entity_macros.html | 29 ++++++++++++++++++++----- python/fatcat_web/templates/release_search.html | 2 +- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index e68254de..204347cd 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -178,11 +178,20 @@ - {% if paper.best_pdf_url %}
-   fulltext +    + {% if paper.preservation == "bright" %} + {% if paper.best_pdf_url %} + bright archive + {% else %} + bright archive + {% endif %} + {% elif paper.preservation == "dark" %} + dark archive + {% else %} + no archive + {% endif %}
- {% endif %} {# ### AUTHOR ROW #} {% if paper.contrib_names %} @@ -230,15 +239,23 @@ {% if paper.doi %} doi:{{ paper.doi }}   {% endif %} - {% if paper.pmid %} - pmid:{{ paper.pmid }}   - {% endif %} {% if paper.pmcid %} pmcid:{{ paper.pmcid }}   + {% elif paper.pmid %} + pmid:{{ paper.pmid }}   {% endif %} {% if paper.arxiv_id %} arXiv:{{ paper.arxiv_id }}   {% endif %} + {% if paper.jstor_id %} + jstor:{{ paper.jstor_id }}   + {% endif %} + {% if paper.doaj_id %} + doaj:{{ paper.doaj_id }}   + {% endif %} + {% if paper.doaj_id %} + dblp:{{ paper.dblp_id }}   + {% endif %} {# WIP: elastic release work grouping searches
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index b1021322..4de56fa2 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -24,7 +24,7 @@
- +

Can also lookup by identifier or search for containers (eg, journals). -- cgit v1.2.3