From d8a8a249f0db951cf7bbf0e35a55f0e66737147c Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Wed, 7 Jun 2023 10:13:14 +0200
Subject: [PATCH] Added flash msg with link to survey and zero border radius
 for all flash msgs

---
 ckanext/odsh/fanstatic/odsh.css  |  3 +++
 ckanext/odsh/templates/page.html | 14 ++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/ckanext/odsh/fanstatic/odsh.css b/ckanext/odsh/fanstatic/odsh.css
index fcb2b926..5a21b2a6 100644
--- a/ckanext/odsh/fanstatic/odsh.css
+++ b/ckanext/odsh/fanstatic/odsh.css
@@ -1085,6 +1085,9 @@ select, textarea, input[type="text"], input[type="password"], input[type="dateti
   color: #d4004b;
   /* SH Rot */
   font-style: italic;
+}
+
+.alert {
   border-radius: 0;
 }
 
diff --git a/ckanext/odsh/templates/page.html b/ckanext/odsh/templates/page.html
index 3285be96..c375a0ae 100644
--- a/ckanext/odsh/templates/page.html
+++ b/ckanext/odsh/templates/page.html
@@ -20,6 +20,20 @@
 
     {% block flash %}
     {{ super() }}
+
+    <div class="alert alert-info" role="alert">
+
+      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
+        <span aria-hidden="true">×</span>
+      </button>
+      <h4 class="alert-heading">Evaluation des Offene-Daten-Gesetzes (ODaG)</h4>
+      <p>Für die Evaluation des Offene-Daten-Gesetzes (ODaG) lassen wir eine Umfrage zur Nutzung des Open-Data-Portals durchführen. Wir würden uns freuen, wenn möglichst viele Nutzerinnen und Nutzer an der Umfrage teilnehmen würden:</p>
+      <p style="margin-top: 15px;">
+        <a href="https://insight.uni-speyer.de/ODSH/" class="btn">zum Fragebogen</a><br>
+        <small>(extern beim Deutschen Forschungsinstitut für öffentliche Verwaltung Speyer).</small>
+      </p>
+     
+    </div>
     {% endblock %}
 
     {% block toolbar %}
-- 
GitLab