{{ todo.creator|full_name }}
{% if todo.due_date or todo.priority != 2 %}
{% if todo.due_date %}
{% trans "Due date" %}:
{% endif %}
{% if todo.priority == 3 %}
{% elif todo.priority == 1 %}
{% endif %}
{% endif %}
{% if user|has_write_access:todo %}
{% captureas modal_id %}deleteTodo_{{todo.pk}}{% endcaptureas %}
{% captureas title %}{% trans "Delete todo" %}{% endcaptureas %}
{% captureas label %}{% trans "Do you really want to delete this todo?" %}{% endcaptureas %}
{% captureas action %}{% group_url 'cosinnus:todo:entry-delete' group=todo.group slug=todo.slug%}{% endcaptureas %}
{% include "cosinnus/modal_box.html" with id=modal_id label=label title=title form_action=action %}
{% endif %}
{% if todo.title %}
{% if todo.is_completed %}{% endif %}
{{ todo.title }}
{% if todo.is_completed %}{% endif %}
{% endif %}
{% if todo.note %}
{{ todo.note|textfield }}
{% endif %}
{% trans "Assigned To" %}
{% include 'cosinnus/media_tags_readonly.html' with object=todo list_view="True" %}
{% if user|has_write_access:todo %}
{% if todo.is_completed %}
{% else %}
{% endif %}
{% if user|has_write_access:todo %}
{% endif %}
{% endif %}
{% include 'cosinnus/feedback/report_button_btn.html' with object=todo %}
{% if todo.attached_images %}
{% include 'cosinnus/common/attached_images_gallery.html' with object=todo max_images=3 %}
{% endif %}
{% include 'cosinnus_todo/todo_comments.html' with todo=todo full_view="True" comments_expanded="True" %}