add color to task status

This commit is contained in:
2018-10-18 21:31:02 +02:00
parent fe5f63457b
commit fe45ce5447
5 changed files with 40 additions and 9 deletions

View File

@@ -24,7 +24,7 @@
{% endif %}
<td>
{% for place in workflow_marked_places(task) %}
<span class="">{{ place|trans }}</span>
<span class="task-status box type-{{ task.type }} place-{{ place }}">{{ place|trans }}</span>
{% endfor %}
{% if task.assignee is not null %}

View File

@@ -25,17 +25,12 @@
{% block personcontent %}
<h1 class="chill-red">{{ 'Task'|trans }}</h1>
<h2>{{ task.title }}</h2>
<h2>{{ task.title }} {% for place in workflow_marked_places(task) %}
<span class="task-status box type-{{ task.type }} place-{{ place }}">{{ place|trans }}</span>
{% endfor %}</h2>
<dl class="chill_view_data">
<dt class="inline">{{ 'Task status'|trans }}</dt>
<dd>
{% for place in workflow_marked_places(task) %}
<span class="">{{ place|trans }}</span>
{% endfor %}
</dd>
<dt class="inline">{{ 'Description'|trans }}</dt>
<dd>
{% if task.description is empty %}