2016-03-16 12:31:22 +00:00
|
|
|
{% for task in doc.tasks %}
|
|
|
|
<div class='task'>
|
2016-07-05 06:42:39 +00:00
|
|
|
<a class="no-decoration task-link {{ task.css_seen }}" href="/tasks?name={{ task.name }}">
|
2016-03-16 12:31:22 +00:00
|
|
|
<div class='row project-item'>
|
2016-07-05 06:42:39 +00:00
|
|
|
<div class='col-xs-9'>
|
|
|
|
<span class="indicator {{ "red" if task.status=="Open" else "green" if task.status=="Closed" else "darkgrey" }}" title="{{ task.status }}" > {{ task.subject }}</span>
|
|
|
|
<div class="small text-muted item-timestamp"
|
|
|
|
title="{{ frappe.utils.pretty_date(task.modified) }}">
|
2017-06-07 14:33:37 +00:00
|
|
|
{{ _("modified") }} {{ frappe.utils.pretty_date(task.modified) }}
|
2016-07-05 06:42:39 +00:00
|
|
|
</div>
|
2016-03-29 05:51:42 +00:00
|
|
|
</div>
|
2016-07-05 06:42:39 +00:00
|
|
|
<div class='col-xs-1'>{% if task.todo %}
|
|
|
|
{% if task.todo.user_image %}
|
|
|
|
<span class="avatar avatar-small" title="{{ task.todo.owner }}">
|
|
|
|
<img src="{{ task.todo.user_image }}">
|
|
|
|
</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="avatar avatar-small standard-image" title="Assigned to {{ task.todo.owner }}">
|
|
|
|
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %} </div>
|
|
|
|
<div class='col-xs-2'>
|
2016-03-29 05:51:42 +00:00
|
|
|
<span class="pull-right list-comment-count small {{ "text-extra-muted" if task.comment_count==0 else "text-muted" }}">
|
|
|
|
<i class="octicon octicon-comment-discussion"></i>
|
|
|
|
{{ task.comment_count }}
|
|
|
|
</span>
|
2016-03-16 12:31:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-05 06:42:39 +00:00
|
|
|
</a>
|
2016-03-16 12:31:22 +00:00
|
|
|
</div>
|
2016-03-29 05:51:42 +00:00
|
|
|
{% endfor %}
|