Logbuch
- {% if flash %}
+ {% if flash and not loggedin_user %}
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
diff --git a/templates/log.html.tera b/templates/log.html.tera
index f15d1c6..b37f3e5 100644
--- a/templates/log.html.tera
+++ b/templates/log.html.tera
@@ -4,9 +4,6 @@
{% block content %}
Logbuch
- {% if flash %}
-
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
- {% endif %}
Boote
diff --git a/templates/planned.html.tera b/templates/planned.html.tera
index bb4219d..521ec8c 100644
--- a/templates/planned.html.tera
+++ b/templates/planned.html.tera
@@ -3,7 +3,6 @@
{% extends "base" %}
{% block content %}
- {% if flash %}{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}{% endif %}
{% if "scheckbuch" in loggedin_user.roles %}