From 75d743cab259483115e1fac9b90a544c7913c94e Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Tue, 30 Jan 2024 12:58:53 +0100 Subject: [PATCH] Rename databases.html => database_list.html More djangonist template name pattern --- .../contrib/musician/locale/ca/LC_MESSAGES/django.po | 10 +++++----- .../contrib/musician/locale/es/LC_MESSAGES/django.po | 10 +++++----- .../musician/{databases.html => database_list.html} | 0 orchestra/contrib/musician/views.py | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) rename orchestra/contrib/musician/templates/musician/{databases.html => database_list.html} (100%) diff --git a/orchestra/contrib/musician/locale/ca/LC_MESSAGES/django.po b/orchestra/contrib/musician/locale/ca/LC_MESSAGES/django.po index dc21cc00..ea455eee 100644 --- a/orchestra/contrib/musician/locale/ca/LC_MESSAGES/django.po +++ b/orchestra/contrib/musician/locale/ca/LC_MESSAGES/django.po @@ -216,7 +216,7 @@ msgstr "Número" msgid "Bill date" msgstr "Data de la factura" -#: templates/musician/billing.html:21 templates/musician/databases.html:17 +#: templates/musician/billing.html:21 templates/musician/database_list.html:17 #: templates/musician/domain_detail.html:17 msgid "Type" msgstr "Tipus" @@ -336,21 +336,21 @@ msgstr "Tipus:" msgid "View DNS records" msgstr "Veure registres DNS" -#: templates/musician/databases.html:21 +#: templates/musician/database_list.html:21 msgid "associated to" msgstr "associada a" -#: templates/musician/databases.html:34 +#: templates/musician/database_list.html:34 msgid "No users for this database." msgstr "No hi ha persones usuàries d’aquesta base de dades." -#: templates/musician/databases.html:45 +#: templates/musician/database_list.html:45 msgid "Open database manager" msgstr "Obre el gestor de bases de dades" #. Translators: database page when there isn't any database. #. Translators: saas page when there isn't any saas. -#: templates/musician/databases.html:58 templates/musician/saas_list.html:49 +#: templates/musician/database_list.html:58 templates/musician/saas_list.html:49 msgid "Ooops! Looks like there is nothing here!" msgstr "Mmmh, sembla que aquí no hi ha res!" diff --git a/orchestra/contrib/musician/locale/es/LC_MESSAGES/django.po b/orchestra/contrib/musician/locale/es/LC_MESSAGES/django.po index 8f70e1c9..ffe3d40a 100644 --- a/orchestra/contrib/musician/locale/es/LC_MESSAGES/django.po +++ b/orchestra/contrib/musician/locale/es/LC_MESSAGES/django.po @@ -218,7 +218,7 @@ msgstr "Número" msgid "Bill date" msgstr "Fecha de la factura" -#: templates/musician/billing.html:21 templates/musician/databases.html:17 +#: templates/musician/billing.html:21 templates/musician/database_list.html:17 #: templates/musician/domain_detail.html:17 msgid "Type" msgstr "Tipo" @@ -338,21 +338,21 @@ msgstr "Tipo:" msgid "View DNS records" msgstr "Ver registros DNS" -#: templates/musician/databases.html:21 +#: templates/musician/database_list.html:21 msgid "associated to" msgstr "asociada a" -#: templates/musician/databases.html:34 +#: templates/musician/database_list.html:34 msgid "No users for this database." msgstr "No hay usuarias/os de esta base de datos." -#: templates/musician/databases.html:45 +#: templates/musician/database_list.html:45 msgid "Open database manager" msgstr "Abre el gestor de bases de datos" #. Translators: database page when there isn't any database. #. Translators: saas page when there isn't any saas. -#: templates/musician/databases.html:58 templates/musician/saas_list.html:49 +#: templates/musician/database_list.html:58 templates/musician/saas_list.html:49 msgid "Ooops! Looks like there is nothing here!" msgstr "Mmmh… ¡parece que aquí no hay nada!" diff --git a/orchestra/contrib/musician/templates/musician/databases.html b/orchestra/contrib/musician/templates/musician/database_list.html similarity index 100% rename from orchestra/contrib/musician/templates/musician/databases.html rename to orchestra/contrib/musician/templates/musician/database_list.html diff --git a/orchestra/contrib/musician/views.py b/orchestra/contrib/musician/views.py index e9bd2f7b..7551de99 100644 --- a/orchestra/contrib/musician/views.py +++ b/orchestra/contrib/musician/views.py @@ -454,7 +454,7 @@ class MailboxChangePasswordView(CustomContextMixin, UserTokenRequiredMixin, Upda class DatabasesView(ServiceListView): - template_name = "musician/databases.html" + template_name = "musician/database_list.html" model = Database service_class = DatabaseService extra_context = {