diff --git a/AKScheduling/templates/admin/AKScheduling/scheduling.html b/AKScheduling/templates/admin/AKScheduling/scheduling.html index 1c45be592c1710297096fcc1127eb70ed31d9420..bf56707cd093a45d13d85ab91b9231821372d376 100644 --- a/AKScheduling/templates/admin/AKScheduling/scheduling.html +++ b/AKScheduling/templates/admin/AKScheduling/scheduling.html @@ -175,11 +175,14 @@ <div class="row" style="margin-bottom: 50px;"> <div class="col-md-10 col-lg-11"> - <div id="planCalendar" ></div> + <div id="planCalendar"></div> </div> <div class="col-md-2 col-lg-1" id="unscheduled-slots"> {% for slot in slots_unscheduled %} - <div class="unscheduled-slot badge badge-primary" data-event='{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'>{{ slot.ak.short_name }} ({{ slot.duration }} h)</div> + <div class="unscheduled-slot badge badge-primary" style='background-color: {{ slot.ak.category.color }}' + data-event='{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'>{{ slot.ak.short_name }} + ({{ slot.duration }} h) + </div> {% endfor %} </div> </div>