2016-03-23 18:28:50 +05:30
|
|
|
{%- from "templates/includes/projects/macros.html" import back_link -%}
|
|
|
|
|
2016-03-16 18:01:22 +05:30
|
|
|
{% for task in doc.tasks %}
|
|
|
|
<div class='task'>
|
|
|
|
<div class='row project-item'>
|
|
|
|
<div class='col-xs-9'>
|
2016-03-25 17:19:28 +05:30
|
|
|
{% 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 %}
|
|
|
|
<a class="no-decoration task-link {{ task.css_seen }}" href="/tasks?name={{ task.name }}{{ back_link(doc) }}">
|
|
|
|
{% if task.status == "Closed" %}
|
|
|
|
{{ task.subject }} completed on {{ task.closing_date }}
|
2016-03-16 18:01:22 +05:30
|
|
|
{% else %}
|
2016-03-25 17:19:28 +05:30
|
|
|
{{ task.subject }}
|
2016-03-16 18:01:22 +05:30
|
|
|
{% endif %}
|
2016-03-25 17:19:28 +05:30
|
|
|
</a>
|
2016-03-16 18:01:22 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|