First letter of the task status on shots list
Disabled for now until we implement user settings
This commit is contained in:
@@ -55,7 +55,10 @@
|
|||||||
id="task-{{ task._id }}",
|
id="task-{{ task._id }}",
|
||||||
href="{{ url_for('attract.shots.perproject.with_task', project_url=project.url, task_id=task._id) }}",
|
href="{{ url_for('attract.shots.perproject.with_task', project_url=project.url, task_id=task._id) }}",
|
||||||
class="status-{{ task.properties.status }} task-link",
|
class="status-{{ task.properties.status }} task-link",
|
||||||
title="Task: {{ task.name }}")
|
title="{{ task.properties.status | undertitle }} task: {{ task.name }}")
|
||||||
|
| {# First letter of the status. Disabled until we provide the user setting to turn it off
|
||||||
|
span {{ task.properties.status[0] }}
|
||||||
|
| #}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
//- Dirty hack, assume a user can create a task for a shot if they can edit the shot.
|
//- Dirty hack, assume a user can create a task for a shot if they can edit the shot.
|
||||||
| {% if 'PUT' in shot.allowed_methods %}
|
| {% if 'PUT' in shot.allowed_methods %}
|
||||||
|
Reference in New Issue
Block a user