{% extends "projects/base.html" %} {% load i18n %} {% load project_tags %} {% block head_title %}Tasks for {{ other_user }}{% endblock %} {% block body %}

{% blocktrans %}Tasks for {{ other_user }}{% endblocktrans %}

{% ifequal request.user other_user %} {% if tasks %} {% regroup tasks by get_state_display as tasks_by_state %} {% for state in tasks_by_state %}

{{ state.grouper }}

{% for task in state.list %} {% show_task task %} {% endfor %} {% endfor %} {% else %} {% trans "You have no tasks right now." %} {% endif %} {% else %}

You are not allowed to view another person's tasks at this time.

{% endifequal %} {% endblock %}