Style shift detail
This commit is contained in:
parent
6696bdca24
commit
38a72a97be
|
@ -2,7 +2,8 @@
|
|||
<div class="box">
|
||||
<div class="content">
|
||||
<strong>Ort:</strong> {{ shift.room.name }}<br>
|
||||
<strong>Beginn:</strong> {{ shift.start_at }}
|
||||
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
||||
<strong>Dauer:</strong> {{ shift.duration }}
|
||||
</div>
|
||||
<div class="is-flex is-justify-content-end">
|
||||
{% if registered %}
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
{% extends "helper_base.html" %}
|
||||
|
||||
{% block title %}Schichtansicht{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="box">
|
||||
{% if is_registered %}
|
||||
<div>Du bist zu dieser Schicht angemeldet</div>
|
||||
<div class="notification is-info">Du bist zu dieser Schicht angemeldet</div>
|
||||
{% endif %}
|
||||
Ort: {{ shift.room.name }}<br>
|
||||
Start: {{ shift.start_at }}<br>
|
||||
Dauer: {{ shift.duration }}<br>
|
||||
<div class="content">
|
||||
<strong>Ort:</strong> {{ shift.room.name }}<br>
|
||||
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
||||
<strong>Dauer:</strong> {{ shift.duration }}
|
||||
</div>
|
||||
{% if can_register %}
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
|
@ -24,7 +27,7 @@ Dauer: {{ shift.duration }}<br>
|
|||
<input type="submit" class="button is-danger is-small" value="Abmelden">
|
||||
</form>
|
||||
{% elif not shift.has_ended %}
|
||||
Bitte wende dich an den Infopoint, falls du es nicht zu deiner Schicht schaffst.
|
||||
<div class="content">Bitte wende dich an den Infopoint, falls du es nicht zu deiner Schicht schaffst.</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue