From a7cb6ee434badabba810539ad3e5922bda63bd6a Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sun, 12 May 2024 11:35:42 +0200 Subject: [PATCH 1/2] [CHANGE] Mute subtitle text --- .../framework/templates/framework/header/page-header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allianceauth/framework/templates/framework/header/page-header.html b/allianceauth/framework/templates/framework/header/page-header.html index ed067db3..d84868c2 100644 --- a/allianceauth/framework/templates/framework/header/page-header.html +++ b/allianceauth/framework/templates/framework/header/page-header.html @@ -7,7 +7,7 @@ {% if subtitle %}
- {{ subtitle }} + {{ subtitle }} {% endif %} {% endif %} From 2326522b29474f2267f27f2d213470e51ae50d72 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sun, 12 May 2024 11:40:47 +0200 Subject: [PATCH 2/2] [CHANGE] Docs updated with the missing subtitle attribute --- docs/development/custom/framework/templates.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/development/custom/framework/templates.md b/docs/development/custom/framework/templates.md index bcbe19a2..51a5861d 100644 --- a/docs/development/custom/framework/templates.md +++ b/docs/development/custom/framework/templates.md @@ -38,7 +38,8 @@ To use it, you can use the following code in your template: {% block content %}
{% 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 %}

My page content