{% extends 'gentelella/base.html' %} {% load i18n gtflows %} {% block title %}{{ flow }}: {{ object }}{% endblock %} {% block content %}
{% trans 'State' %}: {{ state_label }} {% if instance %}{{ instance.get_status_display }}{% endif %} {% if instance.due_at %} {{ instance.due_at }}{% endif %}
{% if instance.error %}{% include 'gentelella/flows/_buttons.html' %}
{% endif %} {% if control %}{% for action, label in control %}
{% endfor %} {% endif %} {% if tokens|length > 1 %}| {% trans 'Task' %} | {% trans 'For' %} | {% trans 'State' %} | {% trans 'Outcome' %} |
|---|---|---|---|
| {{ task.title }} | {% if task.actual_owner %}{{ task.actual_owner }}{% else %}{% for user in task.potential_owners.all %}{{ user }}{% if not forloop.last %}, {% endif %}{% endfor %}{% for group in task.groups.all %} {{ group }}{% endfor %}{% endif %} | {{ task.get_state_display }} | {{ task.outcome|outcome_label }} |
{% if instance.assigned_to %}{{ instance.assigned_to }}{% endif %} {% if instance.assigned_group %}{{ instance.assigned_group }}{% endif %} {% if not instance.assigned_to and not instance.assigned_group %}{% trans 'Nobody' %}{% endif %} {% if assignment.claim %}
{% endif %} {% if assignment.release %} {% endif %} {% if assignment.reassign %} {% trans 'Reassign' %} {% endif %} {% if instance.variables %}| {{ key }} | {{ value }} |
|---|
| {% trans 'When' %} | {% trans 'Who' %} | {% trans 'What' %} | {% trans 'Comment' %} |
|---|---|---|---|
| {{ entry.created_at }} | {{ entry.user|default:_('System') }} | {% if entry.source != entry.target %}{{ entry.transition }}: {{ entry.source }} → {{ entry.target }}{% if entry.kind != 'transition' %} {{ entry.get_kind_display }}{% endif %}{% else %}{{ entry.get_kind_display }} {{ entry.transition }}{% if entry.data.error %} {{ entry.data.error }}{% endif %}{% endif %} | {{ entry.comment }} |
{% trans 'Nothing has happened yet.' %}
{% endif %} {% trans 'Back to the inbox' %} · {% trans 'Task inbox' %}