don't reload status page for finished task
authorStefan Kögl <stefan@skoegl.net>
Sun, 21 Jul 2013 14:05:49 +0000 (21 16:05 +0200)
committerStefan Kögl <stefan@skoegl.net>
Sun, 21 Jul 2013 14:05:49 +0000 (21 16:05 +0200)
mygpo/admin/templates/admin/task-status.html

index 2d2c6ec..74c8345 100644 (file)
@@ -7,7 +7,9 @@
 {% block sectionmenu %}{{ "/admin/"|section_menu:"Admin" }}{% endblock %}
 
 {% block head %}
- <meta http-equiv="refresh" content="10">
+ {% if not ready %}
+  <meta http-equiv="refresh" content="10">
+ {% endif %}
 {% endblock %}
 
 {% block title %}