From b949c9e37af3845c8c03bb77ad3fe092a9c7f05d Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Tue, 17 May 2022 17:21:54 +0200 Subject: [PATCH] add link to shift location to shifts --- shiftregister/app/templates/shift.html | 2 +- shiftregister/pages/default_content/map.html | 3 +++ templates/base.html | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 shiftregister/pages/default_content/map.html diff --git a/shiftregister/app/templates/shift.html b/shiftregister/app/templates/shift.html index fa2da7d..7dca708 100644 --- a/shiftregister/app/templates/shift.html +++ b/shiftregister/app/templates/shift.html @@ -14,7 +14,7 @@
Diese Schicht ist bereits besetzt.
{% endif %}
- Ort: {{ shift.room.name }}
+ Ort: {{ shift.room.name }} 📍
Beginn: {{ shift.start_at }}
Dauer: {{ shift.duration }}
Treffpunkt: {{ shift.room.meeting_location }}
diff --git a/shiftregister/pages/default_content/map.html b/shiftregister/pages/default_content/map.html new file mode 100644 index 0000000..e4dba3b --- /dev/null +++ b/shiftregister/pages/default_content/map.html @@ -0,0 +1,3 @@ +
+
Hier erscheint bald die Karte mit allen Schichtstandorten
+
\ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 1eaf536..9ada595 100644 --- a/templates/base.html +++ b/templates/base.html @@ -59,6 +59,7 @@ {% endblock %}