diff --git a/orchestra/contrib/musician/mixins.py b/orchestra/contrib/musician/mixins.py index 4f018e48..a6baf22f 100644 --- a/orchestra/contrib/musician/mixins.py +++ b/orchestra/contrib/musician/mixins.py @@ -14,7 +14,8 @@ class CustomContextMixin(ContextMixin): context = super().get_context_data(**kwargs) # generate services menu items services_menu = [ - {'icon': 'globe-europe', 'pattern_name': 'musician:dashboard', 'title': _('Domains')}, + {'icon': 'home', 'pattern_name': 'musician:dashboard', 'title': _('Dashboard')}, + {'icon': 'globe-europe', 'pattern_name': 'musician:domain-list', 'title': _('Domains')}, {'icon': 'envelope', 'pattern_name': 'musician:address-list', 'title': _('Mails')}, {'icon': 'mail-bulk', 'pattern_name': 'musician:mailing-lists', 'title': _('Mailing lists')}, {'icon': 'database', 'pattern_name': 'musician:database-list', 'title': _('Databases')}, diff --git a/orchestra/contrib/musician/templates/musician/dashboard.html b/orchestra/contrib/musician/templates/musician/dashboard.html index fd390596..e2b9cfa2 100644 --- a/orchestra/contrib/musician/templates/musician/dashboard.html +++ b/orchestra/contrib/musician/templates/musician/dashboard.html @@ -10,157 +10,97 @@
{% trans "It's the first time you log into the system, welcome on board!" %}
{% endif %} +{{ message }}
- {% empty %} -{% trans "There is no notifications at this time." %}
- {% endfor %} + + + +{% trans "Dashboard page description." %}
- -{% for domain in domains %} -{% blocktrans with last_login=profile.last_login|date:"SHORT_DATE_FORMAT" %}Last time you logged in was: {{ last_login }}{% endblocktrans %}
-{% else %} -{% trans "It's the first time you log into the system, welcome on board!" %}
-{% endif %} - - -