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 | d2e6cbefcf35aba6020cc6e8a6d187de4d19bfb5 (patch) | |
| tree | 47e1e5cfd6d8ab998c81185b49bd8f0ac1d787ac /ishtar_common/templates | |
| parent | 89c07c34691b71f5cf572134244fd7e272631013 (diff) | |
| download | Ishtar-d2e6cbefcf35aba6020cc6e8a6d187de4d19bfb5.tar.bz2 Ishtar-d2e6cbefcf35aba6020cc6e8a6d187de4d19bfb5.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 %} |
