Skip to content
Snippets Groups Projects
Commit 8198140e authored by thomaswoehlke's avatar thomaswoehlke
Browse files

### 0.0.7 Release

* Issue #8 WhoServiceUpdate.update_db_short()
* Issue #9 URL: /who/update/short
* Issue #10 async who_update_short_task
* Issue #11 WhoServiceUpdate.__update_who_global_data_short()
* Fixed #12 better layout for flash messages
parent e62af3a8
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ def url_who_update_short_run():
# who_service.run_update_short()
who_update_short_task.apply_async()
flash("who_service.run_update_short started")
flash(message="long running background task started", category="error")
flash(message="long running background task started", category="warning")
return redirect(url_for('home'))
......
......@@ -11,6 +11,18 @@
{% endfor %}
{% endif %}
{% endwith %}
{% with errors = get_flashed_messages(category_filter=["warning"]) %}
{% if errors %}
{% for message in errors %}
<div class="alert alert-warning" role="alert">
<span>{{ message }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
{% endfor %}
{% endif %}
{% endwith %}
{% with messages = get_flashed_messages(category_filter=["message"]) %}
{% if messages %}
{% for message in messages %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment