You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
3 years ago
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block title %}Fehler{% endblock %}
|
||
|
|
||
|
{% block navbar %}
|
||
|
<div class="navbar-start">
|
||
|
{% if not helper%}
|
||
|
<a class="navbar-item" href="{% url 'register' %}">Anmelden</a>
|
||
|
{% else %}
|
||
|
{% if not helper.number_validated %}
|
||
|
<p class="navbar-item has-text-danger">Bestätige deine Telefonnummer über den Link in der SMS</p>
|
||
|
{% endif %}
|
||
|
{% if helper.important_shift %}
|
||
|
<a class="navbar-item" href="{% url 'shift' helper.important_shift.pk %}">{%if helper.important_shift.is_running%}Laufende{% else %}Nächste{% endif %} Schicht ({{ helper.important_shift.start_at|date:"H:i" }})</a>
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
<div class="navbar-end"></div>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<section class="section">
|
||
|
<div class="container">
|
||
|
<h3 class="title">{% block error_message%}Fehler{% endblock %}</h3>
|
||
|
{% block error_text%}<pre>¯\_(ツ)_/¯</pre>{% endblock %}<br>
|
||
|
<a href="{% url 'index' %}" class="button">Zurück zur Schichtübersicht</a>
|
||
|
{% if user.is_authenticated %}
|
||
|
<a href="{% url 'team:index' %}" class="button">Zurück zur Teamansicht</a>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</section>
|
||
|
{% endblock %}
|