Skip to content
Snippets Groups Projects
Commit 42ddb9ba authored by Nadja Geisler's avatar Nadja Geisler :sunny:
Browse files

Merge branch 'fix-scheduling-drag' into 'master'

Fix color and description/popup for AK Slots placed by dragging

See merge request !79
parents 6dfc956a 221295da
No related branches found
No related tags found
1 merge request!79Fix color and description/popup for AK Slots placed by dragging
Pipeline #9291 passed
......@@ -193,7 +193,7 @@
<div class="col-md-2 col-lg-2" id="unscheduled-slots">
{% for slot in slots_unscheduled %}
<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 }}"}' data-details="{{ slot.ak.details }}">{{ slot.ak.short_name }}
data-event='{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.details | escapejs }}", "slotID": "{{ slot.pk }}", "backgroundColor": "{{ slot.ak.category.color }}"}' data-details="{{ slot.ak.details }}">{{ slot.ak.short_name }}
({{ slot.duration }} h)<br>{{ slot.ak.owners_list }}
</div>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment