28 lines
1010 B
HTML
28 lines
1010 B
HTML
{%- 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-1 gravatar-top'>
|
|
{% 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 class='col-xs-11'>
|
|
<a class="no-decoration task-link {{ task.css_seen }}" href="/tasks?name={{ task.name }}{{ back_link(doc) }}">
|
|
<div class="task-subject">{{ task.subject }}</div>
|
|
<span class="item-timestamp">modified {{ frappe.utils.pretty_date(task.modified) }}</span>
|
|
</a>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|