templates/task/view.html
changeset 22 36d3173ab7f9
parent 21 c28774fe7ffd
child 25 c0e4fc8b8b5b
equal deleted inserted replaced
21:c28774fe7ffd 22:36d3173ab7f9
    18     <hr>
    18     <hr>
    19     <br />Description:<br />
    19     <br />Description:<br />
    20     <br />{{ task.desc }}<br />
    20     <br />{{ task.desc }}<br />
    21     <hr>
    21     <hr>
    22     status of task is {{task.status}}<br />
    22     status of task is {{task.status}}<br />
    23     view claims goes here depending on availability of claim<br />
    23     {% if user_can_view_claim %}
       
    24         <a href="/task/claim/tid={{task.id}}">View claims</a><br />
       
    25         view claims goes here depending on availability of claim<br />
       
    26     {% endif %}
       
    27     
    24     {% if comments %}
    28     {% if comments %}
    25         <br/>comments:<br />
    29         <br/>comments:<br />
    26         {% for comment in comments %}
    30         {% for comment in comments %}
    27             <br /><a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> at {{ comment.creation_datetime.ctime }} wrote:<br />
    31             <br /><a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> at {{ comment.creation_datetime.ctime }} wrote:<br />
    28         {{ comment.data }}<br />
    32         {{ comment.data }}<br />