summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-26 12:02:49 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-02-26 12:03:32 -0800
commit7850ce229de7c817c04509ddc8339a7934774c06 (patch)
treeef40121717c0145a97160909efc46c8ca6ed1f75 /python/fatcat_web/templates
parent0880e0ecca4e65fd00a4ffafec948873be45193e (diff)
downloadfatcat-7850ce229de7c817c04509ddc8339a7934774c06.tar.gz
fatcat-7850ce229de7c817c04509ddc8339a7934774c06.zip
web: try container search along with release for generic queries
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_search.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html
index 4de56fa2..59a234c0 100644
--- a/python/fatcat_web/templates/release_search.html
+++ b/python/fatcat_web/templates/release_search.html
@@ -35,6 +35,16 @@
<div class="ui container text">
<br>
+{% if container_found and container_found.results %}
+ <div class="ui tiny info floating message" style="margin: 0em auto; max-width: 40em;">
+ <div class="header">Were you looking for this journal, instead of publications?</div>
+ <div style="padding-left: 0.5em;">
+ {{ entity_macros.container_search_result_row(container_found.results[0]) }}
+ </div>
+ </div>
+ <br clear="all">
+{% endif %}
+
{% if found %}
{% if found.results %}