{% if doc.status == "Open" %}
Link {{ doc.name }}
{{ doc.project_name }}
{% if doc.percent_complete %} {% set pill_class = "green" if doc.percent_complete | round == 100 else "orange" %}
{{ frappe.utils.cint(doc.percent_complete) }} %
{% else %} {{ doc.status }} {% endif %}
{% if doc["_assign"] %} {% set assigned_users = json.loads(doc["_assign"])%}
{% for user in assigned_users %} {% set user_details = frappe .db .get_value("User", user, [ "full_name", "user_image" ], as_dict = True) %} {% if user_details.user_image %} {% else %}
{{ frappe.utils.get_abbr(user_details.full_name) }}
{% endif %} {% endfor %}
{% endif %}
{{ frappe.utils.pretty_date(doc.modified) }}
{% endif %}