blob: fc264c10516fc855a8b7707f3c83ab6515ddac4c [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 %}
Kanchan Chauhanb566d422016-03-29 11:21:42 +053011 <div class="progress" style="margin-bottom: 0!important; margin-top: 10px!important; height:5px;">
Kanchan Chauhanb3fe6a42016-03-16 18:01:22 +053012 <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 }}%;">
Kanchan Chauhanb3fe6a42016-03-16 18:01:22 +053015 </div>
16 </div>
17 {% else %}
18 <span class="indicator {{ "red" if doc.status=="Open" else "darkgrey" }}">
19 {{ doc.status }}</span>
20 {% endif %}
21 </div>
22 <div class="col-xs-4 text-right small text-muted">
23 {{ frappe.utils.pretty_date(doc.modified) }}
24 </div>
25 </div>
26 </a>
27</div>
28{% endif %}