From 7c04b83a6612b7a0c87afe4a1ed4bbb65568fea1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 20 Feb 2019 19:21:19 -0800 Subject: add container search And tweak release search a bit: DOIs aren't auto-replaced unless they are the only word/query This query code is very duplicative and should be refactored --- python/fatcat_web/templates/container_search.html | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 python/fatcat_web/templates/container_search.html (limited to 'python/fatcat_web/templates/container_search.html') diff --git a/python/fatcat_web/templates/container_search.html b/python/fatcat_web/templates/container_search.html new file mode 100644 index 00000000..9fc7aa98 --- /dev/null +++ b/python/fatcat_web/templates/container_search.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} +{% block body %} + +

Journal/Conference Search

+
+
+
+ + +
+
+
+ +
+ +{% if found %} +{% if found.results %} + Showing top {{ found.count_returned }} out of {{ found.count_found }} results for: {{ found.query.q }} +{% for entity in found.results %} +
+

+ {{ entity['name'] }} + {% if entity.is_oa %}{% endif %} +

+ {% if entity.publisher %} +
{{ entity.publisher }}
+ {% endif %} + {% if entity.issnl %} + ISSN {{ entity.issnl }} + {% endif %} + {% if entity.container_type %} +  {{ entity.container_type }} + {% endif %} +
+{% endfor %} +{% else %} +
+

No results found!

+ Query was: {{ found.query.q }} +
+

Try:

+ +
+{% endif %} +{% endif %} + +{% endblock %} -- cgit v1.2.3