From 7fed7d4526305b31c623407dc1cd3f99877ea697 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 6 Aug 2020 20:23:29 -0700 Subject: squish collapse button in with tags --- fatcat_scholar/templates/search_macros.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 05fbbdc..1368cb0 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -144,8 +144,8 @@ fatcat:{{ paper.biblio.release_ident}}   {% endif %} - {# ### TAGS #}
+ {# ### TAGS #} {# colors to use: olive, brown, grey, pink, red, etc #} {# TODO: remove doc for ES 7.x-style lack of type #} {# TODO: only show 'json' link if from cluster? #} @@ -161,18 +161,17 @@ {% if paper.biblio.lang_code and paper.biblio.lang_code != (locale or 'en') %} {{ tag_label("lang:" + paper.biblio.lang_code) }} {% endif %} -
{# ### COLLAPSED HITS #} {% if paper._collapsed_count > 0 %} -
- -
+ {% endif %} + +
{% if paper.fulltext and paper.fulltext.access_url %} -- cgit v1.2.3