diff --git a/polyphonic/library/templates/library/item_list_manage.html b/polyphonic/library/templates/library/item_list_manage.html index 60169ca..f6bd10b 100644 --- a/polyphonic/library/templates/library/item_list_manage.html +++ b/polyphonic/library/templates/library/item_list_manage.html @@ -2,7 +2,7 @@ {% load polyphonic %} {% block admin %} - + {% icon "add_circle" %} Add @@ -15,15 +15,6 @@ {% block page %}
| {{ item.work.name }} | {% firstof item.work.duration '-:--' %} | - + {% icon "delete" %} @@ -109,6 +100,7 @@ workList.addEventListener('dragstart', function(e) { if (!dragSrc) return; dragSrcNext = dragSrc.nextElementSibling; dragSrc.classList.add('dragging'); + e.dataTransfer.setDragImage(e.target, 0, 0); e.dataTransfer.effectAllowed = 'move'; e.dataTransfer.setData('text/plain', dragSrc.dataset.pk); }); diff --git a/polyphonic/library/templates/library/work_list.html b/polyphonic/library/templates/library/work_list.html index 1e6993b..447eb2c 100644 --- a/polyphonic/library/templates/library/work_list.html +++ b/polyphonic/library/templates/library/work_list.html @@ -9,6 +9,12 @@ Add a work {% endif %} +{% if project %} + + {% icon "add_notes" %} + Back + +{% endif %} {% endblock %} {% block page %} @@ -54,7 +60,13 @@ | {{ work.composer|truncatewords:3 }} | {{ work.edition|truncatewords:2 }} | {% if not collection and not project %}{{ work.collection.name }} | {% endif %} - {% if project %}Add{% endif %} + {% if project %} + | + + | + {% endif %} {% empty %}
| No works found |