27 lines
876 B
HTML
Raw Normal View History

2016-03-23 18:28:50 +05:30
{%- from "templates/includes/projects/macros.html" import back_link -%}
{% for task in doc.tasks %}
<div class='task'>
<div class='row project-item'>
<div class='col-xs-9'>
2016-03-23 18:28:50 +05:30
<a class="no-decoration" href="/tasks?name={{ task.name }}{{ back_link(doc) }}">
2016-03-22 16:00:41 +05:30
<span class="indicator {{ "orange" if task.status=="Open" else "green" }}">
{% if task.status == "Closed" %}
{{ task.subject }} completed on {{ task.closing_date }}
{% else %}
{{ task.subject }}
{% endif %}
</span>
</a>
</div>
<div class='col-xs-3'>
<div class='pull-right'>
{% if task.todo %} <span class="avatar avatar-small" title="{{ task.todo.owner }}"> <img src="{{ task.todo.user_image }}"></span>
{% else %}
<span class="avatar avatar-small avatar-empty"></span>
{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}