Repository: liqd/a4-meinberlin

Issue:
testing 2769 status guide
**URL:** dashboard
**user:** initiator
**expected behaviour:** space between line and dots of the status guide is always the same
**behaviour:** if wording is in two lines, the space between line and dot gets bigger
**important screensize:** depending on screensize, e.g. 1020x723
**device & browser:** all browsers
**Comment/Question:** 

Screenshot
<img width="203" alt="Bildschirmfoto 2020-03-29 um 21 45 11" src="https://user-images.githubusercontent.com/35491681/77876518-7b9d9b80-7253-11ea-8d7c-2b0fc1681e02.png">




Discussion:

Resolving patch:
diff --git a/meinberlin/apps/bplan/views.py b/meinberlin/apps/bplan/views.py
--- a/meinberlin/apps/bplan/views.py
+++ b/meinberlin/apps/bplan/views.py
@@ -28,7 +28,7 @@ class BplanProjectCreateView(ExternalProjectCreateView):
     form_class = forms.BplanProjectCreateForm
     template_name = \
         'meinberlin_bplan/bplan_create_dashboard.html'
-    success_message = _('Development plan successfully created.')
+    success_message = _('Development plan was created.')
 
     blueprint = ProjectBlueprint(
         title=_('Development Plan'),
diff --git a/meinberlin/apps/dashboard/views.py b/meinberlin/apps/dashboard/views.py
--- a/meinberlin/apps/dashboard/views.py
+++ b/meinberlin/apps/dashboard/views.py
@@ -48,6 +48,7 @@ class ModuleCreateView(ProjectMixin,
     permission_required = 'a4projects.change_project'
     model = project_models.Project
     slug_url_kwarg = 'project_slug'
+    success_message = _('The module was created')
 
     def post(self, request, *args, **kwargs):
         project = self.get_object()
@@ -69,6 +70,7 @@ def post(self, request, *args, **kwargs):
 
         self._create_module_settings(module)
         self._create_phases(module, self.blueprint.content)
+        messages.success(self.request, self.success_message)
 
         cookie = request.COOKIES.get('dashboard_projects_closed_accordeons',
                                      '[]')
@@ -152,7 +154,7 @@ def publish_module(self):
                                       user=self.request.user)
 
         messages.success(self.request,
-                         _('Module successfully added.'))
+                         _('The module is displayed in the project.'))
 
     def unpublish_module(self):
         module = self.get_object()
@@ -168,7 +170,8 @@ def unpublish_module(self):
                                         user=self.request.user)
 
         messages.success(self.request,
-                         _('Module successfully removed.'))
+                         _('The module is no longer displayed in the project.'
+                           ))
 
 
 class ModuleDeleteView(generic.DeleteView):
@@ -214,7 +217,7 @@ class ProjectCreateView(mixins.DashboardBaseMixin,
     template_name = 'a4dashboard/project_create_form.html'
     permission_required = 'a4projects.add_project'
     menu_item = 'project'
-    success_message = _('Project successfully created.')
+    success_message = _('Project was created.')
 
     def get_permission_object(self):
         return self.organisation
diff --git a/meinberlin/apps/extprojects/views.py b/meinberlin/apps/extprojects/views.py
--- a/meinberlin/apps/extprojects/views.py
+++ b/meinberlin/apps/extprojects/views.py
@@ -20,7 +20,7 @@ class ExternalProjectCreateView(ProjectCreateView):
     form_class = forms.ExternalProjectCreateForm
     template_name = \
         'meinberlin_extprojects/external_project_create_dashboard.html'
-    success_message = _('External project successfully created.')
+    success_message = _('External project was created.')
 
     blueprint = ProjectBlueprint(
         title=_('Linkage'),


Test patch: