Skip to content

Commit

Permalink
rename "Bereich" (District) to "Bezirk"
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown authored Nov 22, 2024
1 parent 29d52aa commit 9fc4c5a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/associations/jinja2/associations/detail.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<li class="breadcrumb-item active"><a>{{ association.abbreviation }}</a></li>
</ol>
<h1>{{ association.name }}&nbsp;<a href="{{ association.source_url }}"><span class="fas fa-link" title="Datenquelle"></span></a></h1>
<h2>Bereiche</h2>
<h2>Bezirke</h2>
<ul>
{% for district in association.district_set.order_by('name') %}
<li><a href="{{ district.get_absolute_url() }}">{{ district.name }}</a></li>
Expand Down
2 changes: 1 addition & 1 deletion src/leagues/jinja2/leagues/detail.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'leagues/base.j2' %}
{% block description %}Übersichtsseite der Liga '{{ league.name }}' des Bereichs '{{ league.district.name }}'{% endblock %}
{% block description %}Übersichtsseite der Liga '{{ league.name }}' des Bezirks '{{ league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/leagues/jinja2/leagues/games.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'leagues/base.j2' %}
{% block title %}Spiele - {{ super() }}{% endblock %}
{% block description %}Spielergebnisse der Liga '{{ league.name }}' des Bereichs '{{ league.district.name }}'{% endblock %}
{% block description %}Spielergebnisse der Liga '{{ league.name }}' des Bezirks '{{ league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/leagues/jinja2/leagues/scorers.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'leagues/base.j2' %}
{% block title %}Schützen - {{ super() }}{% endblock %}
{% block description %}Torschützenranking in der Liga '{{ league.name }}' des Bereichs '{{ league.district.name }}
{% block description %}Torschützenranking in der Liga '{{ league.name }}' des Bezirks '{{ league.district.name }}
'{% endblock %}
{% block content %}
{{ super() }}
Expand Down
2 changes: 1 addition & 1 deletion src/leagues/jinja2/leagues/teams.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'leagues/base.j2' %}
{% block title %}Mannschaften {{ super() }}{% endblock %}
{% block description %}Mannschaften der Liga '{{ league.name }}' des Bereichs '{{ league.district.name }}'{% endblock %}
{% block description %}Mannschaften der Liga '{{ league.name }}' des Bezirks '{{ league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/teams/jinja2/teams/detail.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'teams/base.j2' %}
{% block description %}Übersichtsseite der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des
Bereichs '{{ team.league.district.name }}'{% endblock %}
Bezirks '{{ team.league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/teams/jinja2/teams/games.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'teams/base.j2' %}
{% block title %}Spiele - {{ super() }}{% endblock %}
{% block description %}Spielergebnisse der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des
Bereichs '{{ team.league.district.name }}'{% endblock %}
Bezirks '{{ team.league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/teams/jinja2/teams/offenders.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'teams/base.j2' %}
{% block title %}Straffällige - {{ super() }}{% endblock %}
{% block description %}Ranking der straffälligsten Spieler der Mannschaft '{{ team.name }}' in der Liga '
{{ team.league.name }}' des Bereichs '{{ team.league.district.name }}'{% endblock %}
{{ team.league.name }}' des Bezirks '{{ team.league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
<nav class="nav nav-pills mb-3">
Expand Down
2 changes: 1 addition & 1 deletion src/teams/jinja2/teams/players.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'teams/base.j2' %}
{% block title %}Spieler - {{ super() }}{% endblock %}
{% block description %}Spielerliste der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des Bereichs
{% block description %}Spielerliste der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des Bezirks
'{{ team.league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
Expand Down
2 changes: 1 addition & 1 deletion src/teams/jinja2/teams/scorers.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'teams/base.j2' %}
{% block title %}Schützen - {{ super() }}{% endblock %}
{% block description %}Torschützenranking der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des Bereichs
{% block description %}Torschützenranking der Mannschaft '{{ team.name }}' in der Liga '{{ team.league.name }}' des Bezirks
'{{ team.league.district.name }}'{% endblock %}
{% block content %}
{{ super() }}
Expand Down
2 changes: 1 addition & 1 deletion src/teams/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def calendar(_, bhv_id):
"X-WR-CALDESC",
f'Spielplan der Mannschaft "{team.name}"'
+ f" in der Saison {team.league.season.start_year}/{team.league.season.start_year + 1}"
+ f' in der Liga "{team.league.name}" des Bereichs "{team.league.district.name}"',
+ f' in der Liga "{team.league.name}" des Bezirks "{team.league.district.name}"',
)

for game in team_games:
Expand Down
2 changes: 1 addition & 1 deletion src/users/templates/users/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>Spieler verknüpfen</h1>
</div>

<div class="mb-3">
<label for="districts" class="form-label">Bereich</label>
<label for="districts" class="form-label">Bezirk</label>
<select id="districts" class="form-select">
{% if team %}
{% for d in team.league.district.associations.first.district_set.all %}
Expand Down

0 comments on commit 9fc4c5a

Please sign in to comment.