From 66e8ddb6849dee052807e7b85687a344dc7b73e0 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Fri, 31 May 2024 17:11:17 +0200 Subject: [PATCH] [CHANGE] Remove unnecessary bootstrap classes from the dashboard --- .../authentication/templates/authentication/dashboard.html | 2 +- .../templates/authentication/dashboard_characters.html | 2 +- .../templates/authentication/dashboard_groups.html | 2 +- .../framework/templates/framework/dashboard/widget-title.html | 2 +- allianceauth/optimer/templates/optimer/dashboard.ops.html | 2 +- .../templates/allianceauth/admin-status/esi_check.html | 2 +- .../templates/allianceauth/admin-status/overview.html | 4 ++-- .../timerboard/templates/timerboard/dashboard.timers.html | 2 +- docs/development/custom/framework/templates.md | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/allianceauth/authentication/templates/authentication/dashboard.html b/allianceauth/authentication/templates/authentication/dashboard.html index af1ece0d..640f2691 100644 --- a/allianceauth/authentication/templates/authentication/dashboard.html +++ b/allianceauth/authentication/templates/authentication/dashboard.html @@ -7,7 +7,7 @@ {% translate "Dashboard" %} {% endblock %} {% block content %} -
+
{% for dash in views %} {{ dash | safe }} {% endfor %} diff --git a/allianceauth/authentication/templates/authentication/dashboard_characters.html b/allianceauth/authentication/templates/authentication/dashboard_characters.html index 7021ba46..68b046a8 100644 --- a/allianceauth/authentication/templates/authentication/dashboard_characters.html +++ b/allianceauth/authentication/templates/authentication/dashboard_characters.html @@ -1,5 +1,5 @@ {% load i18n %} -
+
{% translate "Characters" as widget_title %} diff --git a/allianceauth/authentication/templates/authentication/dashboard_groups.html b/allianceauth/authentication/templates/authentication/dashboard_groups.html index 270fcb76..6191ed23 100644 --- a/allianceauth/authentication/templates/authentication/dashboard_groups.html +++ b/allianceauth/authentication/templates/authentication/dashboard_groups.html @@ -1,5 +1,5 @@ {% load i18n %} -
+
{% translate "Membership" as widget_title %} diff --git a/allianceauth/framework/templates/framework/dashboard/widget-title.html b/allianceauth/framework/templates/framework/dashboard/widget-title.html index fdc11845..f6c0c855 100644 --- a/allianceauth/framework/templates/framework/dashboard/widget-title.html +++ b/allianceauth/framework/templates/framework/dashboard/widget-title.html @@ -1,7 +1,7 @@ {#Usage:#} {# {% include "framework/dashboard/widget-title.html" with title="Foobar" %}#} -
+

{{ title }}

diff --git a/allianceauth/optimer/templates/optimer/dashboard.ops.html b/allianceauth/optimer/templates/optimer/dashboard.ops.html index cf990ec4..a406a76f 100644 --- a/allianceauth/optimer/templates/optimer/dashboard.ops.html +++ b/allianceauth/optimer/templates/optimer/dashboard.ops.html @@ -1,7 +1,7 @@ {% load i18n %} {% load evelinks %} -
+
{% translate "Upcoming Fleets" as widget_title %} diff --git a/allianceauth/templates/allianceauth/admin-status/esi_check.html b/allianceauth/templates/allianceauth/admin-status/esi_check.html index 3b8393b9..cea4ef19 100644 --- a/allianceauth/templates/allianceauth/admin-status/esi_check.html +++ b/allianceauth/templates/allianceauth/admin-status/esi_check.html @@ -1,5 +1,5 @@ {% load i18n %} -
+

{% translate 'Your Server received an ESI error response code of ' %}?


diff --git a/allianceauth/templates/allianceauth/admin-status/overview.html b/allianceauth/templates/allianceauth/admin-status/overview.html index 23e4c026..17925aae 100644 --- a/allianceauth/templates/allianceauth/admin-status/overview.html +++ b/allianceauth/templates/allianceauth/admin-status/overview.html @@ -2,7 +2,7 @@ {% load humanize %} {% if notifications %} -
+
{% translate "Alliance Auth Notifications" as widget_title %} @@ -46,7 +46,7 @@
{% endif %} -
+
diff --git a/allianceauth/timerboard/templates/timerboard/dashboard.timers.html b/allianceauth/timerboard/templates/timerboard/dashboard.timers.html index d512e483..cf8c7916 100644 --- a/allianceauth/timerboard/templates/timerboard/dashboard.timers.html +++ b/allianceauth/timerboard/templates/timerboard/dashboard.timers.html @@ -1,7 +1,7 @@ {% load i18n %} {% load evelinks %} -
+
{% translate "Upcoming Timers" as widget_title %} diff --git a/docs/development/custom/framework/templates.md b/docs/development/custom/framework/templates.md index b7581a8c..88157353 100644 --- a/docs/development/custom/framework/templates.md +++ b/docs/development/custom/framework/templates.md @@ -35,7 +35,7 @@ To ensure the dashboard widgets have a unified style, we provide a template part To use it, you can use the following code in your dashboard widget template: ```django -
+
{% translate "My Widget Title" as widget_title %}