From de3e25e0d12cdae9c2de152bf7c65b3d4a266ea0 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 12 Oct 2016 16:38:07 +0200 Subject: [PATCH] First letter of the task status on shots list Disabled for now until we implement user settings --- src/templates/attract/shots/for_project.jade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/templates/attract/shots/for_project.jade b/src/templates/attract/shots/for_project.jade index 71f3f73..d163e9a 100644 --- a/src/templates/attract/shots/for_project.jade +++ b/src/templates/attract/shots/for_project.jade @@ -55,7 +55,10 @@ id="task-{{ 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", - 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 %} //- Dirty hack, assume a user can create a task for a shot if they can edit the shot. | {% if 'PUT' in shot.allowed_methods %}