This repository has been archived by the owner on Jan 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug 791381] Fix dashboard regarding ES errors
This fixes the dashboard page so that if there are any ElasticSearch-related errors, it shows the es_down.html template. In doing this, I tweaked the structure of the dashboard.html template so that I could extend it for the es_down.html template. I also pulled in a new version of ElasticUtils.
- Loading branch information
Showing
5 changed files
with
73 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends "analytics/dashboard.html" %} | ||
|
||
{% block content_leftside %}{% endblock %} | ||
|
||
{% block content_middle %} | ||
<div class="block feedback"> | ||
<h2>{{ _('Dashboard unavailable') }}</h2> | ||
<p> | ||
{{ _('Dashboard is currently unavailable. Please try again in 10 minutes.') }} | ||
</p> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content_rightside %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule elasticutils
updated
3 files
+8 −0 | docs/django.rst | |
+78 −30 | elasticutils/contrib/django/__init__.py | |
+14 −0 | elasticutils/contrib/django/models.py |