2016-05-02 06:13:44 +00:00
|
|
|
<div class="web-list-item transaction-list-item">
|
2019-06-01 15:26:37 +00:00
|
|
|
<a href="/issues?name={{ doc.name }}" class="no-underline">
|
|
|
|
<div class="row py-4 border-bottom">
|
|
|
|
<div class="col-3 d-flex align-items-center">
|
2020-08-27 13:27:18 +00:00
|
|
|
{% set indicator = 'red' if doc.status == 'Open' else 'gray' %}
|
2019-06-01 15:26:37 +00:00
|
|
|
{% set indicator = 'green' if doc.status == 'Closed' else indicator %}
|
|
|
|
<span class="d-inline-flex indicator {{ indicator }}"></span>
|
|
|
|
{{ doc.name }}
|
|
|
|
</div>
|
|
|
|
<div class="col-5 text-muted">
|
|
|
|
{{ doc.subject }}</div>
|
|
|
|
<div class="col-2 d-flex align-items-center text-muted">
|
2020-08-27 13:27:18 +00:00
|
|
|
{% set indicator = 'red' if doc.status == 'Open' else 'gray' %}
|
2019-06-01 15:26:37 +00:00
|
|
|
{% set indicator = 'green' if doc.status == 'Closed' else indicator %}
|
|
|
|
{% set indicator = 'orange' if doc.status == 'Open' and doc.priority == 'Medium' else indicator %}
|
|
|
|
{% set indicator = 'yellow' if doc.status == 'Open' and doc.priority == 'Low' else indicator %}
|
|
|
|
<span class="d-inline-flex indicator {{ indicator }}"></span>
|
|
|
|
{% if doc.status == "Open" %}
|
|
|
|
{{ doc.priority }}
|
|
|
|
{% else %}
|
|
|
|
{{ doc.status }}
|
|
|
|
{%- endif -%}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="col-2 text-right text-muted">
|
|
|
|
{{ frappe.format_date(doc.modified) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
2015-06-01 11:45:42 +00:00
|
|
|
</div>
|