pytask/templates/task/view.html
changeset 15 c6038cbf8a39
parent 14 f2623fb8041a
child 18 293692eb8f06
equal deleted inserted replaced
14:f2623fb8041a 15:c6038cbf8a39
    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 />