mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
app: Show short description as secondary title
Closes: #1721 Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
90d3736431
commit
b5e19726fe
@ -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 %}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user