From 5744c8101d0f56cda81af20908f5bdc53da439cf Mon Sep 17 00:00:00 2001 From: Lova Andriarimalala <43842786+Xpirix@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:52:04 +0300 Subject: [PATCH] Add description for all plugins list --- qgis-app/plugins/templates/plugins/plugin_list.html | 1 - qgis-app/plugins/urls.py | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/qgis-app/plugins/templates/plugins/plugin_list.html b/qgis-app/plugins/templates/plugins/plugin_list.html index 403cd11..d401929 100644 --- a/qgis-app/plugins/templates/plugins/plugin_list.html +++ b/qgis-app/plugins/templates/plugins/plugin_list.html @@ -51,7 +51,6 @@ {% block content %}

{% if title %}{{title}}{% else %}{% trans "All plugins" %}{% endif %}

-
ℹ️
{% if description %}

{{description}}

diff --git a/qgis-app/plugins/urls.py b/qgis-app/plugins/urls.py index 62d67c6..288d5af 100644 --- a/qgis-app/plugins/urls.py +++ b/qgis-app/plugins/urls.py @@ -92,7 +92,12 @@ UserDetailsPluginsList.as_view(), name="user_details", ), - url(r"^$", PluginsList.as_view(), name="approved_plugins"), + url(r"^$", PluginsList.as_view( + additional_context={ + "title": _("All Plugins"), + "description": _("List of all approved plugins."), + } + ), name="approved_plugins"), url( r"^my$", login_required(