diff --git a/changelog/_8471.md b/changelog/_8471.md new file mode 100644 index 0000000000..fd18e88355 --- /dev/null +++ b/changelog/_8471.md @@ -0,0 +1,16 @@ +### Fixed + +- fixed linting in: `project_bplan_detail.html`, `project_detail.html`, `module_detail.html`, `base.html` + +### Changed + +- moved `/components/_alert.scss` to components_dashboard folder + +### Added +- introduced a reusable snippet `alerts.html` to enhance consistency and maintainability across alerts and prevent code duplication. +- added snippet to `project_detail.html`, `module_detail.html`, `base.html` +- added alert__headline, .alert__content and alert__text to `/components_user_facing/_alert.scss` + +### Removed + +- removed messages class, @use "sass:color", $messages-margin-bottom form `/components_user_facing/_alert.scss` \ No newline at end of file diff --git a/meinberlin/apps/contrib/templates/meinberlin_contrib/components/alert.html b/meinberlin/apps/contrib/templates/meinberlin_contrib/components/alert.html new file mode 100644 index 0000000000..00c959860c --- /dev/null +++ b/meinberlin/apps/contrib/templates/meinberlin_contrib/components/alert.html @@ -0,0 +1,13 @@ +{% load i18n %} + +
+ {% translate alert_message %} +
+{{ module.description }}
- - +