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 timelog in doc.timelogs %}
|
|
|
|
<div class='timelog'>
|
|
|
|
<div class='row project-item'>
|
2016-03-29 11:21:42 +05:30
|
|
|
<div class='col-xs-1 gravatar-top'>
|
|
|
|
<span class="avatar avatar-small" title="{{ timelog.modified_by }}"> <img src="{{ timelog.user_image }}"></span>
|
|
|
|
</div>
|
|
|
|
<div class='col-xs-11'>
|
|
|
|
<a class="no-decoration timelog-link {{ timelog.css_seen }}" href="/time-log?name={{ timelog.name}}{{ back_link(doc) }}">
|
|
|
|
<div class="timelog-subject">{{ timelog.title }}</div>
|
|
|
|
<span class="item-timestamp">From {{ frappe.format_date(timelog.from_time) }} to {{ frappe.format_date(timelog.to_time) }}</span>
|
|
|
|
</a>
|
|
|
|
<span class="pull-right list-comment-count small {{ "text-extra-muted" if timelog.comment_count==0 else "text-muted" }}">
|
|
|
|
<i class="octicon octicon-comment-discussion"></i>
|
|
|
|
{{ timelog.comment_count }}
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-03-16 18:01:22 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|