diff --git a/adhocracy-plus/assets/scss/components/_info_box.scss b/adhocracy-plus/assets/scss/components/_info_box.scss
new file mode 100644
index 000000000..682f3b9f8
--- /dev/null
+++ b/adhocracy-plus/assets/scss/components/_info_box.scss
@@ -0,0 +1,21 @@
+.info-box {
+ background-color: $brand-primary-tint;
+ padding: $spacer;
+ margin: $spacer 0;
+ display: flex;
+ flex-direction: column;
+
+ &__content {
+ display: flex;
+ align-items: first baseline;
+ gap: $spacer; // Space between icon and text
+
+ p {
+ margin-bottom: 0;
+ }
+ }
+
+ &__text {
+ flex-grow: 1;
+ }
+}
\ No newline at end of file
diff --git a/adhocracy-plus/assets/scss/style.scss b/adhocracy-plus/assets/scss/style.scss
index 14af2779c..da590a1ff 100644
--- a/adhocracy-plus/assets/scss/style.scss
+++ b/adhocracy-plus/assets/scss/style.scss
@@ -98,6 +98,7 @@
@import "components/homepage";
@import "components/homepage_hero";
@import "components/idea_remark";
+@import "components/info_box";
@import "components/infographic";
@import "components/item_detail";
@import "components/language_choice";
diff --git a/adhocracy-plus/templates/a4modules/includes/module_description.html b/adhocracy-plus/templates/a4modules/includes/module_description.html
new file mode 100644
index 000000000..90d200c28
--- /dev/null
+++ b/adhocracy-plus/templates/a4modules/includes/module_description.html
@@ -0,0 +1,13 @@
+{% block module_description %}
+ {% if module.phases.first.type != 'a4_candy_interactive_events:issue' %}
+ {{ module.description }}{{ module.name }}
+
{{ module.description }}
- {% endif %} - {% endblock %} + {% include "a4modules/includes/module_description.html" %} {% block phase_info %} {% if module.phases.first.type != 'a4_candy_interactive_events:issue' %} {% if not module.active_phase %} diff --git a/adhocracy-plus/templates/a4polls/includes/unregistered-users-info-box.html b/adhocracy-plus/templates/a4polls/includes/unregistered-users-info-box.html new file mode 100644 index 000000000..acd9601ae --- /dev/null +++ b/adhocracy-plus/templates/a4polls/includes/unregistered-users-info-box.html @@ -0,0 +1,20 @@ +{% load i18n static settings %} +{% settings_value "APLUS_MANUAL_URL" as manual_url %} + +{% if poll.allow_unregistered_users %} + +{% endif %} diff --git a/apps/projects/templates/a4_candy_projects/project_detail.html b/apps/projects/templates/a4_candy_projects/project_detail.html index 640fb1bb7..f1a86f0b6 100644 --- a/apps/projects/templates/a4_candy_projects/project_detail.html +++ b/apps/projects/templates/a4_candy_projects/project_detail.html @@ -190,16 +190,7 @@{{ module.description }}
- {% endif %} - {% endblock %} -