Include shot name in task list, before the task name.
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
color: $color-text-dark-primary
|
color: $color-text-dark-primary
|
||||||
+text-overflow-ellipsis
|
+text-overflow-ellipsis
|
||||||
|
|
||||||
.name
|
.name, .shotname
|
||||||
margin: 10px
|
margin: 10px
|
||||||
+text-overflow-ellipsis
|
+text-overflow-ellipsis
|
||||||
|
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
class="status-{{ task.properties.status }} task-link",
|
class="status-{{ task.properties.status }} task-link",
|
||||||
href="{{ url_for('attract.tasks.perproject.view_task', project_url=project.url, task_id=task._id) }}")
|
href="{{ url_for('attract.tasks.perproject.view_task', project_url=project.url, task_id=task._id) }}")
|
||||||
span.status-indicator
|
span.status-indicator
|
||||||
|
| {% if task._parent_info %}
|
||||||
|
span.shotname {{ task._parent_info.name }}
|
||||||
|
| {% endif %}
|
||||||
span.name {{ task.name }}
|
span.name {{ task.name }}
|
||||||
span.type {{ task.properties.task_type }}
|
span.type {{ task.properties.task_type }}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
|
@@ -10,10 +10,10 @@
|
|||||||
title="In project '{{ task._project_info.name }}'",
|
title="In project '{{ task._project_info.name }}'",
|
||||||
href="{{ url_for('attract.tasks.perproject.view_task', project_url=task._project_info.url, task_id=task._id) }}")
|
href="{{ url_for('attract.tasks.perproject.view_task', project_url=task._project_info.url, task_id=task._id) }}")
|
||||||
span.status-indicator
|
span.status-indicator
|
||||||
span.name {{ task.name }}
|
|
||||||
| {% if include_shotname and task._parent_info %}
|
| {% if include_shotname and task._parent_info %}
|
||||||
span.shotname {{ task._parent_info.name }}
|
span.shotname {{ task._parent_info.name }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
span.name {{ task.name }}
|
||||||
span.type {{ task.properties.task_type }}
|
span.type {{ task.properties.task_type }}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
| {%- endmacro %}
|
| {%- endmacro %}
|
||||||
|
Reference in New Issue
Block a user