aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/search_macros.html15
1 files 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 @@
<a target="_blank" href="https://fatcat.wiki/release/{{paper.biblio.release_ident}}" style="color: green;">fatcat:{{ paper.biblio.release_ident}}</a> &nbsp;
{% endif %}
- {# ### TAGS #}
<div style="margin-top: 0.2em;">
+ {# ### 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 %}
- </div>
{# ### COLLAPSED HITS #}
{% if paper._collapsed_count > 0 %}
- <div style="padding-top: 0.5em;">
- <button class="ui compact basic blue button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}">
- <i class="ui icon zoom-in"></i>
- Show {{ paper._collapsed_count }} additional hits from this issue
- </button>
- </div>
+ <button class="ui basic label blue small button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}">
+ <i class="ui icon zoom-in"></i>
+ Show {{ paper._collapsed_count }} additional hits from this issue
+ </button>
{% endif %}
+ </div>
+
</div>
<div class="three wide left aligned column" style="padding-top: 0.5em; padding-right: 0.5em;">
{% if paper.fulltext and paper.fulltext.access_url %}