From 6ff6a75edabb436c7dde49a77d3751c183aa3ff8 Mon Sep 17 00:00:00 2001 From: jorgepastorr Date: Mon, 29 Apr 2024 21:01:51 +0200 Subject: [PATCH] musician add webapps/websites on menu --- orchestra/contrib/musician/mixins.py | 4 +++- orchestra/contrib/musician/templates/musician/base.html | 6 +++++- .../contrib/musician/templates/musician/dashboard.html | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/orchestra/contrib/musician/mixins.py b/orchestra/contrib/musician/mixins.py index 6d811bff..7fb1bccb 100644 --- a/orchestra/contrib/musician/mixins.py +++ b/orchestra/contrib/musician/mixins.py @@ -14,11 +14,13 @@ class CustomContextMixin(ContextMixin): context = super().get_context_data(**kwargs) # generate services menu items services_menu = [ - {'icon': 'globe-europe', 'pattern_name': 'musician:dashboard', 'title': _('Domains & websites')}, + {'icon': 'globe-europe', 'pattern_name': 'musician:dashboard', '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')}, {'icon': 'fire', 'pattern_name': 'musician:saas-list', 'title': _('SaaS')}, + {'icon': 'globe', 'pattern_name': 'musician:website-list', 'title': _('Websites')}, + {'icon': 'folder', 'pattern_name': 'musician:webapp-list', 'title': _('Webapps'), 'indent': True}, ] context.update({ 'services_menu': services_menu, diff --git a/orchestra/contrib/musician/templates/musician/base.html b/orchestra/contrib/musician/templates/musician/base.html index 537b08db..6582e2cd 100644 --- a/orchestra/contrib/musician/templates/musician/base.html +++ b/orchestra/contrib/musician/templates/musician/base.html @@ -46,7 +46,11 @@ {# #}