From 1c88ed807306c60f9090124efc964dbc7df222dd Mon Sep 17 00:00:00 2001 From: Thomas Flummer Date: Wed, 3 Jun 2020 21:30:10 +0200 Subject: [PATCH] Added title blocks to templates that did not have one (#511) In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page Co-authored-by: Thomas Steen Rasmussen --- src/backoffice/templates/approve_feedback.html | 4 ++++ src/backoffice/templates/approve_public_credit_names.html | 5 +++++ src/backoffice/templates/badge_handout.html | 5 +++++ src/backoffice/templates/camp_select.html | 5 +++++ src/backoffice/templates/chain_detail_backoffice.html | 4 ++++ src/backoffice/templates/credebtor_detail_backoffice.html | 4 ++++ src/backoffice/templates/expense_detail_backoffice.html | 4 ++++ src/backoffice/templates/expense_list_backoffice.html | 4 ++++ src/backoffice/templates/index.html | 5 +++++ src/backoffice/templates/info_desk/scan.html | 4 ++++ src/backoffice/templates/merchandise_to_order.html | 5 +++++ src/backoffice/templates/orders_merchandise.html | 5 +++++ src/backoffice/templates/orders_village.html | 5 +++++ src/backoffice/templates/product_handout.html | 5 +++++ src/backoffice/templates/reimbursement_create.html | 4 ++++ .../templates/reimbursement_create_userselect.html | 5 +++++ src/backoffice/templates/reimbursement_delete.html | 4 ++++ .../templates/reimbursement_detail_backoffice.html | 4 ++++ src/backoffice/templates/reimbursement_form.html | 4 ++++ src/backoffice/templates/reimbursement_list_backoffice.html | 4 ++++ src/backoffice/templates/revenue_detail_backoffice.html | 4 ++++ src/backoffice/templates/revenue_list_backoffice.html | 4 ++++ src/backoffice/templates/shop_ticket_overview.html | 5 +++++ src/backoffice/templates/ticket_checkin.html | 5 +++++ src/backoffice/templates/village_to_order.html | 5 +++++ src/camps/templates/bornhack-2016_camp_detail.html | 5 +++++ src/camps/templates/bornhack-2017_camp_detail.html | 5 +++++ src/camps/templates/bornhack-2018_camp_detail.html | 5 +++++ src/camps/templates/bornhack-2019_camp_detail.html | 5 +++++ src/camps/templates/bornhack-2020_camp_detail.html | 5 +++++ src/camps/templates/bornhack-2021_camp_detail.html | 5 +++++ src/camps/templates/camp_list.html | 5 +++++ src/facilities/templates/facility_feedback.html | 4 ++++ src/feedback/templates/feedback/feedback_form.html | 4 ++++ src/profiles/templates/account/email.html | 4 ++++ src/profiles/templates/account/email_confirm.html | 4 ++++ src/profiles/templates/account/email_confirmed.html | 4 ++++ src/profiles/templates/account/login.html | 4 ++++ src/profiles/templates/account/logout.html | 4 ++++ src/profiles/templates/account/password_change.html | 4 ++++ src/profiles/templates/account/password_reset.html | 4 ++++ src/profiles/templates/account/password_reset_done.html | 4 ++++ src/profiles/templates/account/password_reset_from_key.html | 4 ++++ .../templates/account/password_reset_from_key_done.html | 4 ++++ src/profiles/templates/account/signup.html | 4 ++++ src/profiles/templates/account/verification_sent.html | 4 ++++ src/profiles/templates/allauth_2fa/authenticate.html | 4 ++++ src/profiles/templates/allauth_2fa/backup_tokens.html | 4 ++++ src/profiles/templates/allauth_2fa/remove.html | 4 ++++ src/profiles/templates/allauth_2fa/setup.html | 4 ++++ src/profiles/templates/profile_base.html | 4 ++++ src/profiles/templates/profile_detail.html | 4 ++++ src/profiles/templates/profile_form.html | 4 ++++ src/profiles/templates/tickets/ticket_detail.html | 4 ++++ src/profiles/templates/tickets/ticket_list.html | 4 ++++ src/program/templates/combined_proposal_submit.html | 4 ++++ src/program/templates/event_feedback_delete.html | 4 ++++ src/program/templates/event_feedback_detail.html | 4 ++++ src/program/templates/event_feedback_form.html | 4 ++++ src/program/templates/event_feedback_list.html | 4 ++++ src/program/templates/event_list.html | 4 ++++ src/program/templates/event_proposal_add_person.html | 4 ++++ src/program/templates/event_proposal_form.html | 4 ++++ src/program/templates/event_proposal_remove_person.html | 4 ++++ src/program/templates/noscript_schedule_view.html | 4 ++++ src/program/templates/program_base.html | 4 ++++ src/program/templates/proposal_delete.html | 4 ++++ src/program/templates/schedule_base.html | 4 ++++ src/program/templates/schedule_day.html | 4 ++++ src/program/templates/schedule_overview.html | 4 ++++ src/program/templates/speaker_detail.html | 4 ++++ src/program/templates/speaker_list.html | 4 ++++ src/program/templates/speaker_proposal_delete.html | 4 ++++ src/program/templates/speaker_proposal_submit.html | 4 ++++ src/program/templates/url_delete.html | 4 ++++ src/program/templates/url_form.html | 4 ++++ src/rideshare/templates/rideshare/ride_confirm_delete.html | 4 ++++ src/rideshare/templates/rideshare/ride_detail.html | 4 ++++ src/rideshare/templates/rideshare/ride_form.html | 4 ++++ src/rideshare/templates/rideshare/ride_list.html | 5 ++++- src/shop/templates/bank_transfer.html | 4 ++++ src/shop/templates/cash.html | 4 ++++ src/shop/templates/checkout.html | 4 ++++ src/shop/templates/coinify_thanks.html | 4 ++++ src/shop/templates/creditnote_list.html | 4 ++++ src/shop/templates/epay_form.html | 4 ++++ src/shop/templates/epay_thanks.html | 4 ++++ src/shop/templates/order_detail.html | 4 ++++ src/shop/templates/order_list.html | 4 ++++ src/shop/templates/order_review.html | 4 ++++ src/shop/templates/shop_base.html | 4 ++++ src/shop/templates/shop_index.html | 2 +- src/teams/templates/team_info_categories.html | 3 +++ src/teams/templates/team_members.html | 3 +++ src/teams/templates/team_shift_confirm_delete.html | 4 ++++ src/teams/templates/team_shift_form.html | 3 +++ src/teams/templates/team_shift_list.html | 3 +++ src/teams/templates/team_tasks.html | 4 ++++ src/teams/templates/team_user_shifts.html | 4 ++++ src/templates/403.html | 4 ++++ src/templates/404.html | 4 ++++ src/templates/500.html | 4 ++++ src/villages/templates/village_confirm_delete.html | 4 ++++ src/villages/templates/village_form.html | 4 ++++ 104 files changed, 428 insertions(+), 2 deletions(-) diff --git a/src/backoffice/templates/approve_feedback.html b/src/backoffice/templates/approve_feedback.html index dbabf133..dbdd64bf 100644 --- a/src/backoffice/templates/approve_feedback.html +++ b/src/backoffice/templates/approve_feedback.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bornhack %} +{% block title %} +Approve Event Feedback | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/backoffice/templates/approve_public_credit_names.html b/src/backoffice/templates/approve_public_credit_names.html index b712732c..22bb7fac 100644 --- a/src/backoffice/templates/approve_public_credit_names.html +++ b/src/backoffice/templates/approve_public_credit_names.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Approve Public Credit Names | {{ block.super }} +{% endblock %} + {% block content %}

Approve Public Credit Names

diff --git a/src/backoffice/templates/badge_handout.html b/src/backoffice/templates/badge_handout.html index aea8aedb..4623a939 100644 --- a/src/backoffice/templates/badge_handout.html +++ b/src/backoffice/templates/badge_handout.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Hand Out Badges | {{ block.super }} +{% endblock %} + {% block content %}

Hand Out Badges

diff --git a/src/backoffice/templates/camp_select.html b/src/backoffice/templates/camp_select.html index 68d89551..571411af 100644 --- a/src/backoffice/templates/camp_select.html +++ b/src/backoffice/templates/camp_select.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Camp Picker | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/backoffice/templates/chain_detail_backoffice.html b/src/backoffice/templates/chain_detail_backoffice.html index d4b5a831..547a3032 100644 --- a/src/backoffice/templates/chain_detail_backoffice.html +++ b/src/backoffice/templates/chain_detail_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Details for Chain {{ chain.name }} | {{ block.super }} +{% endblock %} + {% block content %}

Details for Chain {{ chain.name }}

Back to Chain list diff --git a/src/backoffice/templates/credebtor_detail_backoffice.html b/src/backoffice/templates/credebtor_detail_backoffice.html index bf4f7f16..8a0e7baa 100644 --- a/src/backoffice/templates/credebtor_detail_backoffice.html +++ b/src/backoffice/templates/credebtor_detail_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Details for Credebtor {{ credebtor.name }} (Chain {{ credebtor.chain.name }}) | {{ block.super }} +{% endblock %} + {% block content %}

Details for Credebtor {{ credebtor.name }} (Chain {{ credebtor.chain.name }})

Back to Credebtor list diff --git a/src/backoffice/templates/expense_detail_backoffice.html b/src/backoffice/templates/expense_detail_backoffice.html index 4b4a8165..17f7316a 100644 --- a/src/backoffice/templates/expense_detail_backoffice.html +++ b/src/backoffice/templates/expense_detail_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Manage Expense | {{ block.super }} +{% endblock %} + {% block content %}

Manage Expense

diff --git a/src/backoffice/templates/expense_list_backoffice.html b/src/backoffice/templates/expense_list_backoffice.html index adcaf923..6fd0f9fc 100644 --- a/src/backoffice/templates/expense_list_backoffice.html +++ b/src/backoffice/templates/expense_list_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load static %} +{% block title %} +Manage Expenses for {{ camp.title }} | {{ block.super }} +{% endblock %} + {% block content %}

Manage Expenses for {{ camp.title }}

diff --git a/src/backoffice/templates/index.html b/src/backoffice/templates/index.html index 64642e9c..06729643 100644 --- a/src/backoffice/templates/index.html +++ b/src/backoffice/templates/index.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} Backoffice | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/backoffice/templates/info_desk/scan.html b/src/backoffice/templates/info_desk/scan.html index 3f566c65..57a95da3 100644 --- a/src/backoffice/templates/info_desk/scan.html +++ b/src/backoffice/templates/info_desk/scan.html @@ -2,6 +2,10 @@ {% load static %} {% load qrcode %} +{% block title %} +Scan | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/backoffice/templates/merchandise_to_order.html b/src/backoffice/templates/merchandise_to_order.html index 1b631d46..9e6dda86 100644 --- a/src/backoffice/templates/merchandise_to_order.html +++ b/src/backoffice/templates/merchandise_to_order.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Merchandise To Order | {{ block.super }} +{% endblock %} + {% block content %}

Merchandise To Order

diff --git a/src/backoffice/templates/orders_merchandise.html b/src/backoffice/templates/orders_merchandise.html index 80aec9ac..d5a88ab0 100644 --- a/src/backoffice/templates/orders_merchandise.html +++ b/src/backoffice/templates/orders_merchandise.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Merchandise Orders | {{ block.super }} +{% endblock %} + {% block content %}

Merchandise Orders

diff --git a/src/backoffice/templates/orders_village.html b/src/backoffice/templates/orders_village.html index 22d9dabe..7e4e0eea 100644 --- a/src/backoffice/templates/orders_village.html +++ b/src/backoffice/templates/orders_village.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Village Orders | {{ block.super }} +{% endblock %} + {% block content %}

Village Orders

diff --git a/src/backoffice/templates/product_handout.html b/src/backoffice/templates/product_handout.html index bb7cfab4..cc94e416 100644 --- a/src/backoffice/templates/product_handout.html +++ b/src/backoffice/templates/product_handout.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Hand Out Products | {{ block.super }} +{% endblock %} + {% block content %}

Hand Out Products

diff --git a/src/backoffice/templates/reimbursement_create.html b/src/backoffice/templates/reimbursement_create.html index 056493f1..298a0a2c 100644 --- a/src/backoffice/templates/reimbursement_create.html +++ b/src/backoffice/templates/reimbursement_create.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Create Reimbursement for User {{ reimbursement_user }} | {{ block.super }} +{% endblock %} + {% block content %}

Create Reimbursement for User {{ reimbursement_user }}

diff --git a/src/backoffice/templates/reimbursement_create_userselect.html b/src/backoffice/templates/reimbursement_create_userselect.html index 12efaaa3..d0d9a8c7 100644 --- a/src/backoffice/templates/reimbursement_create_userselect.html +++ b/src/backoffice/templates/reimbursement_create_userselect.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Create Reimbursement - Select User | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/backoffice/templates/reimbursement_delete.html b/src/backoffice/templates/reimbursement_delete.html index 19dcbbcb..307e9a8a 100644 --- a/src/backoffice/templates/reimbursement_delete.html +++ b/src/backoffice/templates/reimbursement_delete.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Delete Reimbursement for User {{ reimbursement_user }} | {{ block.super }} +{% endblock %} + {% block content %}

Delete Reimbursement for User {{ reimbursement_user }}

diff --git a/src/backoffice/templates/reimbursement_detail_backoffice.html b/src/backoffice/templates/reimbursement_detail_backoffice.html index 6a649f6c..44e72dca 100644 --- a/src/backoffice/templates/reimbursement_detail_backoffice.html +++ b/src/backoffice/templates/reimbursement_detail_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Reimbursement Details | {{ block.super }} +{% endblock %} + {% block content %}

Reimbursement Details

diff --git a/src/backoffice/templates/reimbursement_form.html b/src/backoffice/templates/reimbursement_form.html index 43764be4..ab96e369 100644 --- a/src/backoffice/templates/reimbursement_form.html +++ b/src/backoffice/templates/reimbursement_form.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Update Reimbursement for User {{ reimbursement_user }} | {{ block.super }} +{% endblock %} + {% block content %}

Update Reimbursement for User {{ reimbursement_user }}

diff --git a/src/backoffice/templates/reimbursement_list_backoffice.html b/src/backoffice/templates/reimbursement_list_backoffice.html index 8ff9e0bc..64e33057 100644 --- a/src/backoffice/templates/reimbursement_list_backoffice.html +++ b/src/backoffice/templates/reimbursement_list_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load static %} +{% block title %} +Reimbursements for {{ camp.title }} | {{ block.super }} +{% endblock %} + {% block content %}

Reimbursements for {{ camp.title }}

diff --git a/src/backoffice/templates/revenue_detail_backoffice.html b/src/backoffice/templates/revenue_detail_backoffice.html index 95fd2048..38f7008f 100644 --- a/src/backoffice/templates/revenue_detail_backoffice.html +++ b/src/backoffice/templates/revenue_detail_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load bootstrap3 %} +{% block title %} +Manage Revenue | {{ block.super }} +{% endblock %} + {% block content %}

Manage Revenue

diff --git a/src/backoffice/templates/revenue_list_backoffice.html b/src/backoffice/templates/revenue_list_backoffice.html index 10ba28bf..93bb5705 100644 --- a/src/backoffice/templates/revenue_list_backoffice.html +++ b/src/backoffice/templates/revenue_list_backoffice.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load static %} +{% block title %} +Manage Revenues for {{ camp.title }} | {{ block.super }} +{% endblock %} + {% block content %}

Manage Revenues for {{ camp.title }}

diff --git a/src/backoffice/templates/shop_ticket_overview.html b/src/backoffice/templates/shop_ticket_overview.html index 9876b04c..6c5cb7db 100644 --- a/src/backoffice/templates/shop_ticket_overview.html +++ b/src/backoffice/templates/shop_ticket_overview.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Shop Tickets | {{ block.super }} +{% endblock %} + {% block content %}

Shop Tickets

diff --git a/src/backoffice/templates/ticket_checkin.html b/src/backoffice/templates/ticket_checkin.html index 217a3c34..6d46cc42 100644 --- a/src/backoffice/templates/ticket_checkin.html +++ b/src/backoffice/templates/ticket_checkin.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Ticket Check-In | {{ block.super }} +{% endblock %} + {% block content %}

Ticket Check-In

diff --git a/src/backoffice/templates/village_to_order.html b/src/backoffice/templates/village_to_order.html index 94f0d9c3..d9000cd1 100644 --- a/src/backoffice/templates/village_to_order.html +++ b/src/backoffice/templates/village_to_order.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Village Gear To Order | {{ block.super }} +{% endblock %} + {% block content %}

Village Gear To Order

diff --git a/src/camps/templates/bornhack-2016_camp_detail.html b/src/camps/templates/bornhack-2016_camp_detail.html index aff703aa..209da220 100644 --- a/src/camps/templates/bornhack-2016_camp_detail.html +++ b/src/camps/templates/bornhack-2016_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/bornhack-2017_camp_detail.html b/src/camps/templates/bornhack-2017_camp_detail.html index 65731ec4..f1cccf1d 100644 --- a/src/camps/templates/bornhack-2017_camp_detail.html +++ b/src/camps/templates/bornhack-2017_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/bornhack-2018_camp_detail.html b/src/camps/templates/bornhack-2018_camp_detail.html index 15c0b862..1996acd0 100644 --- a/src/camps/templates/bornhack-2018_camp_detail.html +++ b/src/camps/templates/bornhack-2018_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/bornhack-2019_camp_detail.html b/src/camps/templates/bornhack-2019_camp_detail.html index 6b2c1881..5b61259c 100644 --- a/src/camps/templates/bornhack-2019_camp_detail.html +++ b/src/camps/templates/bornhack-2019_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/bornhack-2020_camp_detail.html b/src/camps/templates/bornhack-2020_camp_detail.html index 9e8545c3..fb1296ac 100644 --- a/src/camps/templates/bornhack-2020_camp_detail.html +++ b/src/camps/templates/bornhack-2020_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/bornhack-2021_camp_detail.html b/src/camps/templates/bornhack-2021_camp_detail.html index 2e0ea936..bd79f014 100644 --- a/src/camps/templates/bornhack-2021_camp_detail.html +++ b/src/camps/templates/bornhack-2021_camp_detail.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +{{ camp.title }} +{% endblock %} + {% block content %}
diff --git a/src/camps/templates/camp_list.html b/src/camps/templates/camp_list.html index 92638a07..d2b1801c 100644 --- a/src/camps/templates/camp_list.html +++ b/src/camps/templates/camp_list.html @@ -2,6 +2,11 @@ {% load commonmark %} {% load static %} {% load imageutils %} + +{% block title %} +Camp List | {{ block.super }} +{% endblock %} + {% block content %}
diff --git a/src/facilities/templates/facility_feedback.html b/src/facilities/templates/facility_feedback.html index 67fbef52..642d51f5 100644 --- a/src/facilities/templates/facility_feedback.html +++ b/src/facilities/templates/facility_feedback.html @@ -2,6 +2,10 @@ {% load bootstrap3 %} {% load bornhack %} +{% block title %} +{{ facility.name }} Feedback | {{ block.super }} +{% endblock %} + {% block content %}

{{ facility.name }} Feedback

{% if unhandled_feedbacks %} diff --git a/src/feedback/templates/feedback/feedback_form.html b/src/feedback/templates/feedback/feedback_form.html index 37b149ab..cf9701b7 100644 --- a/src/feedback/templates/feedback/feedback_form.html +++ b/src/feedback/templates/feedback/feedback_form.html @@ -2,6 +2,10 @@ {% load commonmark %} {% load bootstrap3 %} +{% block title %} +Feedback | {{ block.super }} +{% endblock %} + {% block content %}