pytask/templates/task/view.html
changeset 435 1217d808d70f
parent 431 fcc87a3f0311
child 488 c4e9771a274b
equal deleted inserted replaced
434:ebfe27c2af39 435:1217d808d70f
     1 {% extends "base.html" %}
     1 {% extends "base.html" %}
       
     2 
       
     3 {% load form_helpers %}
     2 
     4 
     3 {% block title %}
     5 {% block title %}
     4   {{task.title}}
     6   {{task.title}}
     5 {% endblock %}
     7 {% endblock %}
     6 
     8 
    14   {% if can_approve %}
    16   {% if can_approve %}
    15     <a href="{% url approve_task task.id %}">Approve task</a>
    17     <a href="{% url approve_task task.id %}">Approve task</a>
    16   {% endif %}
    18   {% endif %}
    17 
    19 
    18   {% if can_close %}
    20   {% if can_close %}
    19       <a href="{% url close_task task.id %}">Close task</a>
    21     <a href="{% url close_task task.id %}">Close task</a>
    20   {% endif %}
    22   {% endif %}
    21 
    23 
    22   <hr />created by
    24   <hr />created by
    23   <a href="{% url view_user_profile task.created_by.id %}">
    25   <a href="{% url view_user_profile task.created_by.id %}">
    24     {{ task.created_by.username }}
    26     {{ task.created_by.username }}