Fix spelling and make spacing in templates more consistent
parent
92e7cd6c2b
commit
78ac75423c
@ -1,17 +1,19 @@
|
||||
{% extends "team_base.html" %}
|
||||
|
||||
{% block title %}Schichtuebersicht{% endblock %}
|
||||
{% block title %}Schichtübersicht{% endblock %}
|
||||
{% block content %}
|
||||
{%if running_shifts%}
|
||||
{% if running_shifts %}
|
||||
<h2>Laufende Schichten</h2>
|
||||
<ul>
|
||||
{%for shift in running_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>
|
||||
{%endfor%}
|
||||
{% for shift in running_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>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<h2>Nächste Schichten</h2>
|
||||
<ul>
|
||||
{% 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>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{%endif%}
|
||||
<h2>Naechste Schichten</h2>
|
||||
{%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>
|
||||
{%endfor%}
|
||||
{% endblock %}
|
@ -1,11 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>{% block title %}Help!{% endblock %}</title>
|
||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{%block body%}
|
||||
{%endblock%}
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue