2016-03-16 12:31:22 +00:00
|
|
|
{% if doc.status=="Open" %}
|
|
|
|
<div class="web-list-item">
|
2020-02-20 07:29:32 +00:00
|
|
|
<a class="no-decoration" href="/projects?project={{ doc.name | urlencode }}">
|
2016-03-16 12:31:22 +00:00
|
|
|
<div class="row">
|
2016-04-20 10:50:49 +00:00
|
|
|
<div class="col-xs-6">
|
2016-03-31 08:57:35 +00:00
|
|
|
|
2016-03-16 12:31:22 +00:00
|
|
|
{{ doc.name }}
|
|
|
|
</div>
|
2016-04-20 10:50:49 +00:00
|
|
|
<div class="col-xs-3">
|
2016-03-16 12:31:22 +00:00
|
|
|
{% if doc.percent_complete %}
|
2016-03-29 05:51:42 +00:00
|
|
|
<div class="progress" style="margin-bottom: 0!important; margin-top: 10px!important; height:5px;">
|
2016-03-31 08:57:35 +00:00
|
|
|
<div class="progress-bar progress-bar-{{ "warning" if doc.percent_complete|round < 100 else "success"}}" role="progressbar"
|
2016-03-16 12:31:22 +00:00
|
|
|
aria-valuenow="{{ doc.percent_complete|round|int }}"
|
|
|
|
aria-valuemin="0" aria-valuemax="100" style="width:{{ doc.percent_complete|round|int }}%;">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2020-08-27 13:27:18 +00:00
|
|
|
<span class="indicator {{ "red" if doc.status=="Open" else "gray" }}">
|
2016-03-16 12:31:22 +00:00
|
|
|
{{ doc.status }}</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2016-04-20 10:50:49 +00:00
|
|
|
<div class="col-xs-3 text-right small text-muted">
|
2016-03-16 12:31:22 +00:00
|
|
|
{{ frappe.utils.pretty_date(doc.modified) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|