From f0d0c44fd66f3ff524a38bef9d6ecb0be7630cef Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Sun, 26 Jan 2025 22:42:20 +0100 Subject: [PATCH] djade formatting --- fet2020/templates/404.html | 2 +- fet2020/templates/admin/base.html | 11 +++++------ fet2020/templates/admin/base_site.html | 2 +- fet2020/templates/admin/change_form.html | 4 ++-- fet2020/templates/admin/submit_line.html | 4 ++-- .../authentications/change_password.html | 2 +- .../authentications/change_password_done.html | 2 +- fet2020/templates/authentications/login.html | 2 +- fet2020/templates/base.html | 10 ++++------ fet2020/templates/blackboard/index.html | 2 +- fet2020/templates/documents/base.html | 12 +++++------- fet2020/templates/documents/pad.html | 9 ++++----- fet2020/templates/finance/bill_create.html | 2 +- .../templates/finance/bill_create_done.html | 4 ++-- fet2020/templates/finance/bill_update.html | 2 +- fet2020/templates/finance/index.html | 2 +- .../templates/finance/resolution_create.html | 2 +- .../templates/finance/resolution_detail.html | 2 +- fet2020/templates/finance/resolution_list.html | 4 ++-- .../templates/finance/resolution_update.html | 2 +- fet2020/templates/flatpages/default.html | 2 +- fet2020/templates/flatpages/social_media.html | 2 +- fet2020/templates/gallery/album.html | 4 ++-- fet2020/templates/gallery/index.html | 2 +- fet2020/templates/home.html | 2 +- .../templates/intern/attachment/create.html | 2 +- .../templates/intern/attachment/detail.html | 2 +- .../templates/intern/attachment/update.html | 2 +- fet2020/templates/intern/etherpad/create.html | 2 +- .../templates/intern/fileupload/create.html | 2 +- fet2020/templates/intern/index.html | 2 +- fet2020/templates/intern/topic/create.html | 2 +- fet2020/templates/intern/topic/detail.html | 2 +- fet2020/templates/intern/topic/update.html | 2 +- fet2020/templates/members/index.html | 13 +++++-------- fet2020/templates/members/jobs.html | 2 +- fet2020/templates/members/member.html | 4 ++-- fet2020/templates/members/members.html | 2 +- fet2020/templates/posts/event/detail.html | 12 +++++++----- fet2020/templates/posts/event/update.html | 2 +- fet2020/templates/posts/fetmeeting/create.html | 2 +- fet2020/templates/posts/fetmeeting/detail.html | 14 ++++++++------ fet2020/templates/posts/fetmeeting/update.html | 2 +- fet2020/templates/posts/index.html | 2 +- fet2020/templates/posts/news/detail.html | 8 ++++---- fet2020/templates/posts/news/update.html | 2 +- fet2020/templates/posts/show.html | 18 +++++++++--------- fet2020/templates/posts/tag.html | 2 +- fet2020/templates/search/index.html | 2 +- 49 files changed, 97 insertions(+), 102 deletions(-) diff --git a/fet2020/templates/404.html b/fet2020/templates/404.html index 22d56ad1..e2c7e929 100644 --- a/fet2020/templates/404.html +++ b/fet2020/templates/404.html @@ -18,4 +18,4 @@ -{% endblock %} +{% endblock content %} diff --git a/fet2020/templates/admin/base.html b/fet2020/templates/admin/base.html index 6262be3c..5a57f38c 100644 --- a/fet2020/templates/admin/base.html +++ b/fet2020/templates/admin/base.html @@ -1,10 +1,9 @@ {% extends "admin/base.html" %} -{% load i18n admin_urls %} -{% load static %} +{% load admin_urls i18n static %} {% block extrahead %} -{% endblock %} +{% endblock extrahead %} {% block usertools %} {% if has_permission %} @@ -12,14 +11,14 @@ {% block welcome-msg %} {% translate 'Welcome,' %} {% firstof user.get_short_name user.get_username %}. - {% endblock %} + {% endblock welcome-msg %} {% block userlinks %} {% if site_url %} Zurück zur FET Homepage {% endif %} {% translate 'Log out' %} - {% endblock %} + {% endblock userlinks %} {% endif %} -{% endblock %} +{% endblock usertools %} diff --git a/fet2020/templates/admin/base_site.html b/fet2020/templates/admin/base_site.html index c7b85356..dd7a13db 100644 --- a/fet2020/templates/admin/base_site.html +++ b/fet2020/templates/admin/base_site.html @@ -1,3 +1,3 @@ {% extends "admin/base_site.html" %} -{% block title %}{{ site_title }}: {{ title }} {% endblock %} +{% block title %}{{ site_title }}: {{ title }}{% endblock %} diff --git a/fet2020/templates/admin/change_form.html b/fet2020/templates/admin/change_form.html index 6769f39c..bb75124d 100644 --- a/fet2020/templates/admin/change_form.html +++ b/fet2020/templates/admin/change_form.html @@ -1,6 +1,6 @@ {% extends "admin/change_form.html" %} -{% load i18n admin_urls %} +{% load admin_urls i18n %} {% block form_top %} {% if help_text %}

{{ help_text }}

{% endif %} -{% endblock %} +{% endblock form_top %} diff --git a/fet2020/templates/admin/submit_line.html b/fet2020/templates/admin/submit_line.html index 1549624f..ec1e5bda 100644 --- a/fet2020/templates/admin/submit_line.html +++ b/fet2020/templates/admin/submit_line.html @@ -1,5 +1,5 @@ {% extends "admin/submit_line.html" %} -{% load i18n admin_urls %} +{% load admin_urls i18n %} {% block submit-row %} {% if not show_close %} @@ -8,4 +8,4 @@ {% endif %} {% if generate_pdf %}{% endif %} {{ block.super }} -{% endblock %} +{% endblock submit-row %} diff --git a/fet2020/templates/authentications/change_password.html b/fet2020/templates/authentications/change_password.html index b60cd7bd..1d9fd004 100644 --- a/fet2020/templates/authentications/change_password.html +++ b/fet2020/templates/authentications/change_password.html @@ -26,4 +26,4 @@ -{% endblock %} +{% endblock content %} diff --git a/fet2020/templates/authentications/change_password_done.html b/fet2020/templates/authentications/change_password_done.html index fc349959..6c4ad377 100644 --- a/fet2020/templates/authentications/change_password_done.html +++ b/fet2020/templates/authentications/change_password_done.html @@ -12,4 +12,4 @@ -{% endblock %} +{% endblock content %} diff --git a/fet2020/templates/authentications/login.html b/fet2020/templates/authentications/login.html index df9b14b2..956c175a 100644 --- a/fet2020/templates/authentications/login.html +++ b/fet2020/templates/authentications/login.html @@ -28,4 +28,4 @@ -{% endblock %} +{% endblock content %} diff --git a/fet2020/templates/base.html b/fet2020/templates/base.html index c77a7ee1..3eef34f7 100644 --- a/fet2020/templates/base.html +++ b/fet2020/templates/base.html @@ -1,6 +1,4 @@ -{% load flatpages %} -{% load static %} -{% load version %} +{% load flatpages static version %} @@ -50,9 +48,9 @@ {% block galleryheader %} - {% endblock %} + {% endblock galleryheader %} {% block extraheader %} - {% endblock %} + {% endblock extraheader %} @@ -203,7 +201,7 @@ {% block content %} - {% endblock %} + {% endblock content %}