blob: 3c7331bea45f83d76244e401ed2664790ae749a6 [file] [log] [blame]
Kanchan Chauhanb3fe6a42016-03-16 18:01:22 +05301{% if doc.status=="Open" %}
2<div class="web-list-item">
3 <a class="no-decoration" href="/projects?project={{ doc.name }}">
4 <div class="row">
5 <div class="col-xs-4">
6
7 {{ doc.name }}
8 </div>
9 <div class="col-xs-4">
10 {% if doc.percent_complete %}
11 <div class="progress" style="margin-bottom: 0!important;">
12 <div class="progress-bar progress-bar-warning" role="progressbar"
13 aria-valuenow="{{ doc.percent_complete|round|int }}"
14 aria-valuemin="0" aria-valuemax="100" style="width:{{ doc.percent_complete|round|int }}%;">
15 {{ doc.percent_complete|round|int }}% Complete
16 </div>
17 </div>
18 {% else %}
19 <span class="indicator {{ "red" if doc.status=="Open" else "darkgrey" }}">
20 {{ doc.status }}</span>
21 {% endif %}
22 </div>
23 <div class="col-xs-4 text-right small text-muted">
24 {{ frappe.utils.pretty_date(doc.modified) }}
25 </div>
26 </div>
27 </a>
28</div>
29{% endif %}