mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +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-description" >
|
||||||
<section class='app-titles'>
|
<section class='app-titles'>
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
{% if setup %}
|
<div>
|
||||||
<h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2>
|
{% if setup %}
|
||||||
{% else %}
|
<h2>{% trans "Installation" %}: {{ app_info.name }}</h2>
|
||||||
<h2>{{ app_info.name }}</h2>
|
{% else %}
|
||||||
{% endif %}
|
<h2>{{ app_info.name }}</h2>
|
||||||
|
{% endif %}
|
||||||
|
{% if app_info.short_description %}
|
||||||
|
<h3>{{ app_info.short_description }}</h3>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<div id='app-toggle-container' class="app-toggle-container">
|
<div id='app-toggle-container' class="app-toggle-container">
|
||||||
{% if is_enabled %}
|
{% if is_enabled %}
|
||||||
|
|||||||
@ -568,6 +568,14 @@ a.menu_link_active {
|
|||||||
margin: auto 0;
|
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 {
|
.app-toggle-container {
|
||||||
display: none;
|
display: none;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user