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 ++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'python/fatcat_web/templates/entity_macros.html') 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
-- cgit v1.2.3