diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-20 20:50:44 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-20 20:50:44 -0700 |
commit | 1d6ffc8fa85d2d9fb58f52f846376b571d2a1565 (patch) | |
tree | 13fa5a4dded322b1d04bba3a182094e24f13e300 /fatcat_scholar/templates | |
parent | 86741c88c70fe267945157d854424c7657d25055 (diff) | |
download | fatcat-scholar-1d6ffc8fa85d2d9fb58f52f846376b571d2a1565.tar.gz fatcat-scholar-1d6ffc8fa85d2d9fb58f52f846376b571d2a1565.zip |
add a helper tag for search index document
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 3ff0253..f5c4d85 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -131,10 +131,14 @@ {# ### SOURCE TAGS #} <div style="margin-top: 0.2em;"> + {# colors to use: olive, brown, grey, pink, red, etc #} {% for tag in paper.tags %} <span class="ui label small">{{ tag }}</span> {% endfor %} - {# olive, brown, grey, pink, red, etc #} + {# TODO: remove doc for ES 7.x-style lack of type #} + <a href="{{ settings.ELASTICSEARCH_BACKEND }}/_doc/{{ settings.ELASTICSEARCH_FULLTEXT_INDEX }}/{{ paper.key }}"> + <span class="ui label small">indexed</span> + </a> </div> </div> |