diff options
author | bnewbold <bnewbold@archive.org> | 2021-02-26 22:33:52 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2021-02-26 22:33:52 +0000 |
commit | df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed (patch) | |
tree | 1b4c4b589a43a36c0a11b578d6f4f96c3129213a /python/fatcat_web/templates/release_search.html | |
parent | 67ee012ccc63ffcd98964ab58b2bcc49c5b6693a (diff) | |
parent | a5e9309c148019539127f41d7fefd722d0ae3bf2 (diff) | |
download | fatcat-df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed.tar.gz fatcat-df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed.zip |
Merge branch 'bnewbold-202102-tweaks' into 'master'
Feb 2021 web UI/UX tweaks
See merge request webgroup/fatcat!96
Diffstat (limited to 'python/fatcat_web/templates/release_search.html')
-rw-r--r-- | python/fatcat_web/templates/release_search.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index b1021322..59a234c0 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -24,7 +24,7 @@ </div> <div class="ui checkbox" style="float: right; margin: 1em;"> <input type="checkbox" name="fulltext_only" id="fulltext_only" value="true" {% if query.fulltext_only %}checked{% endif %}> - <label for="fulltext_only">Fulltext Available Only</label> + <label for="fulltext_only">Only public full-text</label> </div> <br>Can also lookup by <b><a href="/release/lookup">identifier</a></b> or search for <b><a href="/container/search?q={{ query.q or "" }}">containers</a></b> (eg, journals). </div> @@ -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 %} |