diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-08 13:59:18 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-08 13:59:18 +0100 |
| commit | 80bdf47a50d504dcb9e06c19470d0c2478b5e95c (patch) | |
| tree | 47e1e5cfd6d8ab998c81185b49bd8f0ac1d787ac /ishtar_common/templates | |
| parent | 8da5aeb18cab007ebdb5623b80fe82f0378b4491 (diff) | |
| download | Ishtar-80bdf47a50d504dcb9e06c19470d0c2478b5e95c.tar.bz2 Ishtar-80bdf47a50d504dcb9e06c19470d0c2478b5e95c.zip | |
Autorefresh button not available when background task is not available (refs #3951)
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/ishtar/import_list.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/import_list.html b/ishtar_common/templates/ishtar/import_list.html index a5fa34660..f98f47b66 100644 --- a/ishtar_common/templates/ishtar/import_list.html +++ b/ishtar_common/templates/ishtar/import_list.html @@ -2,6 +2,7 @@ {% load i18n inline_formset %} {% block pre_container %} +{% if autorefresh_available %} <button id="autorefreshpage" class="nav-button btn btn-sm btn-secondary disabled" data-link="{% url 'current_imports_table' %}" @@ -9,6 +10,7 @@ title="{% trans 'Autorefresh the table (useful when waiting for an import result)' %}"> <i class="fa fa-refresh" aria-hidden="true"></i> </button> +{% endif %} <form action="." method="post">{% csrf_token %} {% endblock %} |
