mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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 <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
48457dd0d0
commit
bf86990382
@ -27,15 +27,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if selected_shortcut.description %}
|
||||
{% block pagetitle %}
|
||||
<h2>{{ selected_shortcut.name }}</h2>
|
||||
{% endblock %}
|
||||
|
||||
{% block description %}
|
||||
{% for paragraph in selected_shortcut.description %}
|
||||
<p>{{ paragraph|safe }}</p>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% include "app-header.html" with app_info=selected_shortcut %}
|
||||
|
||||
<section class="toolbar">
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user