Merge branch 'mute-subtitle' into 'master'

[CHANGE] Mute subtitle text

See merge request allianceauth/allianceauth!1623
This commit is contained in:
Ariel Rin 2024-05-12 09:48:47 +00:00
commit 84f44338dc
2 changed files with 3 additions and 2 deletions

View File

@ -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 %}

View File

@ -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>