templates/task/view.html
changeset 25 c0e4fc8b8b5b
parent 22 36d3173ab7f9
child 64 e743fe1f0f99
equal deleted inserted replaced
24:fcae44e94845 25:c0e4fc8b8b5b
    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     {% if user_can_view_claim %}
    23     {% if assigned_user %}
       
    24         Task has been assigned to <a href="/user/view/uid={{assigned_user.id}}">{{assigned_user.username}}</a><br />
       
    25     {% endif %}
       
    26     {% if not is_guest %}
    24         <a href="/task/claim/tid={{task.id}}">View claims</a><br />
    27         <a href="/task/claim/tid={{task.id}}">View claims</a><br />
    25         view claims goes here depending on availability of claim<br />
       
    26     {% endif %}
    28     {% endif %}
    27     
    29     
    28     {% if comments %}
    30     {% if comments %}
       
    31         <hr />
    29         <br/>comments:<br />
    32         <br/>comments:<br />
    30         {% for comment in comments %}
    33         {% for comment in comments %}
    31             <br /><a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> at {{ comment.creation_datetime.ctime }} wrote:<br />
    34             <br /><a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> at {{ comment.creation_datetime.ctime }} wrote:<br />
    32         {{ comment.data }}<br />
    35         {{ comment.data }}<br />
    33         {% endfor %}
    36         {% endfor %}