From bf869903829212b9ff0207095a2bcdb41670afb6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 11 May 2022 11:06:45 -0700 Subject: [PATCH] frontpage: Reuse app header template for showing app description - Show the short description under the app name. - Show the link to manual page if available. - Share the header styling with the app page. Tests: - Install OpenVPN app and visit the home page. Select the OpenVPN icon. Along with app title and description, short description is now shown. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/templates/index.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plinth/templates/index.html b/plinth/templates/index.html index a9441b2e4..7b93c0172 100644 --- a/plinth/templates/index.html +++ b/plinth/templates/index.html @@ -27,15 +27,7 @@ {% endif %} {% if selected_shortcut.description %} - {% block pagetitle %} -

{{ selected_shortcut.name }}

- {% endblock %} - - {% block description %} - {% for paragraph in selected_shortcut.description %} -

{{ paragraph|safe }}

- {% endfor %} - {% endblock %} + {% include "app-header.html" with app_info=selected_shortcut %}