mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Merge branch 'mute-subtitle' into 'master'
[CHANGE] Mute subtitle text See merge request allianceauth/allianceauth!1623
This commit is contained in:
commit
84f44338dc
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{% if subtitle %}
|
{% if subtitle %}
|
||||||
<br>
|
<br>
|
||||||
<small>{{ subtitle }}</small>
|
<small class="text-muted">{{ subtitle }}</small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -38,7 +38,8 @@ To use it, you can use the following code in your template:
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div>
|
<div>
|
||||||
{% translate "My Page Header" as page_header %}
|
{% translate "My Page Header" as page_header %}
|
||||||
{% include "framework/header/page-header.html" with title=page_header %}
|
{% translate "My Page Header Subtitle" as optional_subtitle %}
|
||||||
|
{% include "framework/header/page-header.html" with title=page_header subtitle=optional_subtitle %}
|
||||||
|
|
||||||
<p>My page content</p>
|
<p>My page content</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user