app: Show short description as secondary title

Closes: #1721

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-02-18 14:02:56 -08:00 committed by James Valleroy
parent 90d3736431
commit b5e19726fe
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 18 additions and 5 deletions

View File

@ -17,11 +17,16 @@
<section class="app-description" >
<section class='app-titles'>
{% block pagetitle %}
{% if setup %}
<h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2>
{% else %}
<h2>{{ app_info.name }}</h2>
{% endif %}
<div>
{% if setup %}
<h2>{% trans "Installation" %}: {{ app_info.name }}</h2>
{% else %}
<h2>{{ app_info.name }}</h2>
{% endif %}
{% if app_info.short_description %}
<h3>{{ app_info.short_description }}</h3>
{% endif %}
</div>
{% endblock %}
<div id='app-toggle-container' class="app-toggle-container">
{% if is_enabled %}

View File

@ -568,6 +568,14 @@ a.menu_link_active {
margin: auto 0;
}
.app-titles h3 {
margin-top: -0.5rem;
margin-bottom: 1.6rem;
font-size: 1.6rem;
font-weight: normal;
font-style: italic;
}
.app-toggle-container {
display: none;
flex-flow: row;