{% extends request.is_ajax|yesno:'nullcont.htm,taskapp/ext.htm' %} {% load i18n tasktags %} {% block content %}
{% for task in tasks %} {% if task.is_relevant %} {% else %} {% endif %} {% if task.abon and task.abon.group %} {% else %} {% endif %} {% empty %} {% endfor %}
{% trans 'Name and comment count' %} {% trans 'Address' %} {% trans 'The nature of the damage' %} {% trans 'Description' %} {% trans 'Task author' %} {% trans 'Actions' %}
{# Task state #} {% if not task.is_relevant %} {% if task.priority == 'E' %} {% elif task.priority == 'A' %} {% endif %} {% endif %} {{ task.abon.get_full_name }} {% if task.comment_count > 0 %}({{ task.comment_count }}){% endif %} {{ task.abon.group.title }}, {{ task.abon.street|default:'' }} {{ task.abon.house|default:'' }} {% trans 'User does not exist' %} ---{{ task.get_mode_display }} {{ task.descr|default:'' }} {% if task.author %} {{ task.author.username }} {% else %} {% trans 'Author does not exist' %} {% endif %} {% if perms.taskapp.change_task %} {% endif %}
{% trans 'The list is empty' %}
{% include 'taskapp/footer_btns.html' %}
{% endblock %}