2
0
Fork 0

Fix spelling and make spacing in templates more consistent

This commit is contained in:
Luca 2022-04-14 03:05:05 +02:00
parent 92e7cd6c2b
commit 78ac75423c
11 changed files with 74 additions and 70 deletions

View File

@ -5,7 +5,7 @@
<form action="" method="post"> <form action="" method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<p>Wir nutzen deine Handynummer um dir Benachrictigungen zu deinen Schichten zu schicken. Wir loeschen alle Daten 7 Tage nach dem Festival.</p> <p>Wir nutzen deine Handynummer, um dir Benachrichtigungen zu deinen Schichten zu schicken. Wir löschen alle Daten 7 Tage nach dem Festival.</p>
<input type="submit" value="Anmelden"> <input type="submit" value="Anmelden">
</form> </form>
{% endblock %} {% endblock %}

View File

@ -23,7 +23,7 @@ Dauer: {{shift.duration}}<br>
<input type="submit" value="Abmelden"> <input type="submit" value="Abmelden">
</form> </form>
{% else %} {% else %}
Bitte wende dich an den Infopoint falls du es nicht zu deiner Schicht schaffst. Bitte wende dich an den Infopoint, falls du es nicht zu deiner Schicht schaffst.
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -14,7 +14,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<h2>Freie Scchichten:</h2> <h2>Freie Schichten:</h2>
<ul> <ul>
{% for shift in free_shifts %} {% for shift in free_shifts %}
<li>{{ shift.room.name }} {{ shift.start_at }}<a href="{% url 'shift' shift.id %}">Mithelfen</a></li> <li>{{ shift.room.name }} {{ shift.start_at }}<a href="{% url 'shift' shift.id %}">Mithelfen</a></li>

View File

@ -3,5 +3,5 @@
{% block title %}Registrierung{% endblock %} {% block title %}Registrierung{% endblock %}
{% block content %} {% block content %}
Hallo {{ helper.name }},<br> Hallo {{ helper.name }},<br>
wir haben dir eine SMS an {{helper.phone}} mit einem Bestaetigunslink geschickt. Sobald du diesen anklickst kann es losgehen! wir haben dir eine SMS an {{ helper.phone }} mit einem Bestätigungslink geschickt. Sobald du diesen anklickst, kann es losgehen!
{% endblock %} {% endblock %}

View File

@ -8,5 +8,4 @@
<li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li> <li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock %} {% endblock %}

View File

@ -1,6 +1,6 @@
{% extends "team_base.html" %} {% extends "team_base.html" %}
{% block title %}Schichtuebersicht{% endblock %} {% block title %}Schichtübersicht{% endblock %}
{% block content %} {% block content %}
{% if running_shifts %} {% if running_shifts %}
<h2>Laufende Schichten</h2> <h2>Laufende Schichten</h2>
@ -10,8 +10,10 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<h2>Naechste Schichten</h2> <h2>Nächste Schichten</h2>
<ul>
{% for shift in next_shifts %} {% for shift in next_shifts %}
<li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li> <li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li>
{% endfor %} {% endfor %}
</ul>
{% endblock %} {% endblock %}

View File

@ -5,7 +5,8 @@
<nav> <nav>
<a href="{% url 'team:shift_overview' %}">Schichtuebersicht</a> <a href="{% url 'team:shift_overview' %}">Schichtuebersicht</a>
<a href="{% url 'team:shift_all' %}">Alle Schichten</a> <a href="{% url 'team:shift_all' %}">Alle Schichten</a>
</nav><hr> </nav>
<hr>
<div id="content"> <div id="content">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>

View File

@ -1,9 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{% block title %}Help!{% endblock %}</title> <title>{% block title %}Help!{% endblock %}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head> </head>
<body> <body>
{% block body %} {% block body %}
{% endblock %} {% endblock %}