Shot list: show updated task name in shot list after editing task.

This commit is contained in:
2016-09-22 11:08:20 +02:00
parent 504fa17910
commit 6f4a5e17fa
3 changed files with 35 additions and 1 deletions

View File

@@ -19,6 +19,15 @@
border-radius: 50%
transition: all 100ms ease-in-out
.flash-on
background-color: #dfd
color: #040
outline: 1px solid #040
transition: all 0.2s
.flash-off
transition: all 0.1s
.task-list-item
border-right: 5px solid transparent
color: $color-primary-dark

View File

@@ -24,7 +24,8 @@
| {% for task in tasks_for_shots[shot._id][task_type] %}
a(
href="javascript:task_open('{{ task._id }}', '{{ project.url }}');",
class="status-{{ task.properties.status }}") {{ task.name }}
class="status-{{ task.properties.status }}")
span(class="task-name-{{ task._id }}") {{ task.name }}
br
| {% endfor %}
| {% if not tasks_for_shots[shot._id][task_type] %}