From a5aaa60a541ae01ed4a9bc68984cbcea8efa852c Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Thu, 20 Jan 2022 12:30:10 +0000 Subject: [PATCH] add changeable title in header --- fet2020/templates/authentications/login.html | 2 + fet2020/templates/base.html | 58 ++++++++++---------- fet2020/templates/blackboard/index.html | 2 + fet2020/templates/flatpages/default.html | 2 + fet2020/templates/members/jobs.html | 2 + fet2020/templates/members/member.html | 2 + fet2020/templates/members/members.html | 2 + fet2020/templates/posts/index.html | 2 + fet2020/templates/posts/show.html | 2 + fet2020/templates/posts/tag.html | 2 + 10 files changed, 47 insertions(+), 29 deletions(-) diff --git a/fet2020/templates/authentications/login.html b/fet2020/templates/authentications/login.html index a4bcc935..dbae1c2f 100644 --- a/fet2020/templates/authentications/login.html +++ b/fet2020/templates/authentications/login.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% block title %}FET: Login{% endblock %} + {% block content %}
diff --git a/fet2020/templates/base.html b/fet2020/templates/base.html index 36826de0..ee6ad44f 100644 --- a/fet2020/templates/base.html +++ b/fet2020/templates/base.html @@ -5,8 +5,8 @@ - - FET: Startseite + + {% block title %}FET: Startseite{% endblock %} @@ -117,38 +117,38 @@ {% block content %} {% endblock %} -
-
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
- - - -
-
+
+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+ + + +
+
Handcrafted with by Matteo Duchscher -
- +
+ diff --git a/fet2020/templates/blackboard/index.html b/fet2020/templates/blackboard/index.html index f1a03b1f..85903d17 100644 --- a/fet2020/templates/blackboard/index.html +++ b/fet2020/templates/blackboard/index.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% block title %}FET: Blackboard{% endblock %} + {% block content %}
diff --git a/fet2020/templates/flatpages/default.html b/fet2020/templates/flatpages/default.html index 7079942b..4232dc9e 100644 --- a/fet2020/templates/flatpages/default.html +++ b/fet2020/templates/flatpages/default.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% block title %}FET: {{ flatpage.title }}{% endblock %} + {% block content %}
diff --git a/fet2020/templates/members/jobs.html b/fet2020/templates/members/jobs.html index 43407c57..d4782f43 100644 --- a/fet2020/templates/members/jobs.html +++ b/fet2020/templates/members/jobs.html @@ -1,5 +1,7 @@ {% extends 'members/index.html' %} +{% block title %}FET: {{ active_job_group.name }}{% endblock %} + {% block jobs_content %}

{{ active_job_group.name }}

diff --git a/fet2020/templates/members/member.html b/fet2020/templates/members/member.html index a3963b02..638b4929 100644 --- a/fet2020/templates/members/member.html +++ b/fet2020/templates/members/member.html @@ -1,6 +1,8 @@ {% extends 'members/index.html' %} {% load softhyphen_tags %} +{% block title %}FET: {{ member.firstname }} {{ member.surname }}{% endblock %} + {% block extraheader %} diff --git a/fet2020/templates/members/members.html b/fet2020/templates/members/members.html index 69e47a83..f991e8f0 100644 --- a/fet2020/templates/members/members.html +++ b/fet2020/templates/members/members.html @@ -1,5 +1,7 @@ {% extends 'members/index.html' %} +{% block title %}FET: Fachschaft{% endblock %} + {% block members_content %} {% if fs_info %}
diff --git a/fet2020/templates/posts/index.html b/fet2020/templates/posts/index.html index fa035c91..af1b7abb 100644 --- a/fet2020/templates/posts/index.html +++ b/fet2020/templates/posts/index.html @@ -2,6 +2,8 @@ {% load post_helpers %} +{% block title %}FET: News{% endblock %} + {% block content %}
diff --git a/fet2020/templates/posts/show.html b/fet2020/templates/posts/show.html index 0c3750a9..d4b55fac 100644 --- a/fet2020/templates/posts/show.html +++ b/fet2020/templates/posts/show.html @@ -3,6 +3,8 @@ {% load post_helpers %} {% load admin_urls %} +{% block title %}FET: News{% endblock %} + {% block extraheader %} diff --git a/fet2020/templates/posts/tag.html b/fet2020/templates/posts/tag.html index fbe0b3a6..3ac955b0 100644 --- a/fet2020/templates/posts/tag.html +++ b/fet2020/templates/posts/tag.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% block title %}FET: News{% endblock %} + {% block content %}