Merge branch 'master' of gitlab.com:allianceauth/allianceauth

This commit is contained in:
Ariel Rin 2024-05-12 19:50:10 +10:00
commit 18d0e58a48
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
{% if subtitle %}
<br>
<small>{{ subtitle }}</small>
<small class="text-muted">{{ subtitle }}</small>
{% endif %}
</h1>
{% endif %}

View File

@ -38,7 +38,8 @@ To use it, you can use the following code in your template:
{% block content %}
<div>
{% 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>
</div>