From f0fe3929d4570d0e74402e0494829bd90c397418 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sun, 10 Dec 2023 13:44:32 +0100 Subject: [PATCH] [CHANGE] Update FA icons to new classes Base Classes: - `far` => `fa-regular` - `fas` => `fa-solid` - `fab` => `fa-brand` --- .../templates/authentication/tokens.html | 2 +- allianceauth/groupmanagement/auth_hooks.py | 6 +++--- .../templates/groupmanagement/groupmembership.html | 6 +++--- allianceauth/menu/models.py | 2 +- .../menu/templates/menu/menu-notification-block.html | 2 +- .../notifications/templates/notifications/list.html | 2 +- .../templates/notifications/list_partial.html | 2 +- .../services/discord/discord_service_ctrl.html | 8 ++++---- .../services/discourse/discourse_service_ctrl.html | 2 +- .../templates/services/mumble/mumble_service_ctrl.html | 10 +++++----- .../services/teamspeak3/teamspeak3_service_ctrl.html | 10 +++++----- allianceauth/services/templates/services/services.html | 8 ++++---- .../services/templates/services/services_ctrl.html | 8 ++++---- .../static/allianceauth/js/refresh_notifications.js | 2 +- allianceauth/templates/allianceauth/base-bs5.html | 4 ++-- allianceauth/templates/allianceauth/messages-bs5.html | 8 ++++---- allianceauth/templates/allianceauth/messages.html | 8 ++++---- allianceauth/templates/allianceauth/night-toggle.html | 2 +- .../allianceauth/notifications_menu_item.html | 2 +- allianceauth/templates/allianceauth/side-menu.html | 4 ++-- .../templates/allianceauth/top-menu-admin.html | 6 +++--- .../templates/allianceauth/top-menu-rh-default.html | 4 ++-- .../templates/allianceauth/top-menu-user-dropdown.html | 2 +- 23 files changed, 55 insertions(+), 55 deletions(-) diff --git a/allianceauth/authentication/templates/authentication/tokens.html b/allianceauth/authentication/templates/authentication/tokens.html index e14a69f6..801c3f8c 100644 --- a/allianceauth/authentication/templates/authentication/tokens.html +++ b/allianceauth/authentication/templates/authentication/tokens.html @@ -21,7 +21,7 @@ {% for s in t.scopes.all %}{{ s.name }}{% endfor %} - + {{ t.character_name }} diff --git a/allianceauth/groupmanagement/auth_hooks.py b/allianceauth/groupmanagement/auth_hooks.py index 211973ac..318d2095 100644 --- a/allianceauth/groupmanagement/auth_hooks.py +++ b/allianceauth/groupmanagement/auth_hooks.py @@ -16,7 +16,7 @@ class GroupManagementMenuItem(MenuItemHook): MenuItemHook.__init__( self, text=_("Group Management"), - classes="fas fa-users-cog fa-fw", + classes="fa-solid fa-users-gear", url_name="groupmanagement:management", order=50, navactive=[ @@ -36,7 +36,7 @@ class GroupManagementMenuItem(MenuItemHook): """
  • - + {% translate "Groups" %} @@ -49,7 +49,7 @@ class GroupsMenuItem(MenuItemHook): MenuItemHook.__init__( self, text=_("Groups"), - classes="fas fa-user fa-fw", + classes="fa-solid fa-user", url_name="groupmanagement:groups", order=25, navactive=[ diff --git a/allianceauth/groupmanagement/templates/groupmanagement/groupmembership.html b/allianceauth/groupmanagement/templates/groupmanagement/groupmembership.html index e50f3838..89f10d66 100644 --- a/allianceauth/groupmanagement/templates/groupmanagement/groupmembership.html +++ b/allianceauth/groupmanagement/templates/groupmanagement/groupmembership.html @@ -54,15 +54,15 @@ - + - + - + diff --git a/allianceauth/menu/models.py b/allianceauth/menu/models.py index 81121408..cfcebdd3 100644 --- a/allianceauth/menu/models.py +++ b/allianceauth/menu/models.py @@ -144,7 +144,7 @@ class MenuItem(models.Model): "render": _render, "text": mi.text, "rank": mi.rank, - "classes": (mi.icon_classes if mi.icon_classes != "" else "fas fa-folder"), + "classes": (mi.icon_classes if mi.icon_classes != "" else "fa-solid fa-folder"), "hide": mi.hide } diff --git a/allianceauth/menu/templates/menu/menu-notification-block.html b/allianceauth/menu/templates/menu/menu-notification-block.html index fc3b3dcd..80959258 100644 --- a/allianceauth/menu/templates/menu/menu-notification-block.html +++ b/allianceauth/menu/templates/menu/menu-notification-block.html @@ -7,7 +7,7 @@ href="{% url 'notifications:list' %}"> {% with unread_count=request.user|user_unread_notification_count %} - + {% endwith %} diff --git a/allianceauth/notifications/templates/notifications/list.html b/allianceauth/notifications/templates/notifications/list.html index 8d946fdc..49eacce5 100644 --- a/allianceauth/notifications/templates/notifications/list.html +++ b/allianceauth/notifications/templates/notifications/list.html @@ -28,7 +28,7 @@ {% block header_nav_collapse_right %}
  • - + {% translate "Night Mode" %}
  • diff --git a/allianceauth/templates/allianceauth/notifications_menu_item.html b/allianceauth/templates/allianceauth/notifications_menu_item.html index dd912fb3..517a3ecd 100644 --- a/allianceauth/templates/allianceauth/notifications_menu_item.html +++ b/allianceauth/templates/allianceauth/notifications_menu_item.html @@ -8,7 +8,7 @@ {% else %} - + {% endif %} {% endwith %} diff --git a/allianceauth/templates/allianceauth/side-menu.html b/allianceauth/templates/allianceauth/side-menu.html index 0c996a96..fdaac059 100644 --- a/allianceauth/templates/allianceauth/side-menu.html +++ b/allianceauth/templates/allianceauth/side-menu.html @@ -7,12 +7,12 @@