From 17ef522ef5412ff87e3caed1b626d655964e4ac5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Sep 2018 22:45:22 -0700 Subject: improvements to search results page --- python/fatcat/templates/release_search.html | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'python') diff --git a/python/fatcat/templates/release_search.html b/python/fatcat/templates/release_search.html index 39c9bbe6..1085d263 100644 --- a/python/fatcat/templates/release_search.html +++ b/python/fatcat/templates/release_search.html @@ -6,11 +6,26 @@ Showing top {{ found.count_returned }} out of {{ found.count_found }} results for: {{ found.query.q }} {% for paper in found.results %}
-

{{ paper['title'] }}

-
{{ ", ".join(paper.authors) }}
- DOI: {{ paper.doi }} -
Journal: {{ paper.journal }} - +

{{ paper['title'] }} + {% if paper.file_pdf_url %} +   fulltext + {% endif %} +

+
{{ ", ".join(paper.contrib_names) }}
+ {% if paper.doi %} + DOI: {{ paper.doi }} + - {{ paper.release_type }} + - {{ paper.release_date[:4] }}
+ {% endif %} + {% if paper.container_name %} + {% if paper.container_issnl %} + {{ paper.container_name }} + {% else %} + {{ paper.container_name }} + {% endif %} + {% if paper.container_is_oa %}{% endif %} + {% endif %} +
{% else %}
-- cgit v1.2.3