aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-09-17 19:31:12 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-09-17 19:31:12 -0700
commit4365f7d61b8458c06102e4cb58fd373bbada872a (patch)
tree4a4840a3e5c7d0cbfe8ff9a0889067f690893344 /python/fatcat_web/templates
parent9cca4e5494235029656757a3dcc066068da190e6 (diff)
downloadfatcat-4365f7d61b8458c06102e4cb58fd373bbada872a.tar.gz
fatcat-4365f7d61b8458c06102e4cb58fd373bbada872a.zip
coverage search: pretty display for ES query errors
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/coverage_search.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/coverage_search.html b/python/fatcat_web/templates/coverage_search.html
index 1e0f8327..b1db6a9a 100644
--- a/python/fatcat_web/templates/coverage_search.html
+++ b/python/fatcat_web/templates/coverage_search.html
@@ -1,4 +1,5 @@
{% import "entity_macros.html" as entity_macros %}
+{% import "search_macros.html" as search_macros %}
{% extends "base.html" %}
{% block title %}
@@ -32,6 +33,12 @@
<div class="ui container" style="margin-top: 2em;">
+{% if es_error %}
+ <div class="ui container text">
+ {{ search_macros.es_error_msg(es_error) }}
+ </div>
+{% endif %}
+
{% if coverage_stats != None %}
<div class="ui centered grid">
<div class="row">