equal
deleted
inserted
replaced
19 |
19 |
20 {% if can_delete %} |
20 {% if can_delete %} |
21 <a href="/task/delete/tid={{task.uniq_key}}">Delete task</a> |
21 <a href="/task/delete/tid={{task.uniq_key}}">Delete task</a> |
22 {% endif %} |
22 {% endif %} |
23 |
23 |
24 <hr />created by <a href="/user/view/uid={{ task.created_by.uniq_key }}">{{ task.created_by.username }}</a> |
24 <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> |
25 on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}<br /> |
25 on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}<br /> |
26 |
26 |
27 {% if reviewers %} |
27 {% if reviewers %} |
28 {% ifequal task.status "UP" %} |
28 {% ifequal task.status "UP" %} |
29 Task can be viewed by: |
29 Task can be viewed by: |
82 {% endif %} |
82 {% endif %} |
83 --> |
83 --> |
84 |
84 |
85 {% if selected_users %} |
85 {% if selected_users %} |
86 Users working on this task: |
86 Users working on this task: |
87 {% for user in assigned_users %} |
87 {% for user in selected_users %} |
88 <a href="/user/view/uid={{user.id}}">{{user.username}}</a> |
88 <a href="/user/view/uid={{user.id}}">{{user.username}}</a> |
89 {% endfor %} |
89 {% endfor %} |
90 {% if is_reviewer %} |
|
91 <a href="/task/remuser/tid={{task.uniq_key}}">Remove an existing user</a> |
|
92 {% endif %} |
|
93 <br /> |
90 <br /> |
94 {% endif %} |
91 {% endif %} |
95 |
92 |
96 {% if task_claimable %} |
93 {% if task_claimable %} |
97 <a href="/task/claim/tid={{task.uniq_key}}">View claims</a> |
94 <a href="/task/claim/tid={{task.uniq_key}}">View claims</a> |
99 |
96 |
100 {% if can_assign_pynts %} |
97 {% if can_assign_pynts %} |
101 <a href="/task/assignpynts/tid={{task.uniq_key}}">Request assign pynts and mark the task as complete</a> |
98 <a href="/task/assignpynts/tid={{task.uniq_key}}">Request assign pynts and mark the task as complete</a> |
102 {% endif %} |
99 {% endif %} |
103 |
100 |
104 |
|
105 {% if is_selected %} |
101 {% if is_selected %} |
106 <a href="/task/report/tid={{task.uniq_key}}">Submit Work</a> |
102 <a href="/task/report/tid={{task.uniq_key}}">Submit Work</a> |
107 {% endif %} |
103 {% endif %} |
108 |
104 |
109 <hr /> |
105 <hr /> |
110 {% if comments %} |
106 {% if comments %} |
111 comments:<br /><br /> |
107 comments:<br /><br /> |
112 {% for comment in comments %} |
108 {% for comment in comments %} |
113 <a href="/user/view/uid={{comment.commented_by.uniq_key}}">{{ comment.commented_by.username }}</a> |
109 <a href="/user/view/uid={{comment.commented_by.uniq_key}}">{{ comment.commented_by.username }}</a> |
114 on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br /> |
110 on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br /> |
115 {{ comment.data|linebreaksbr }}<br /><br /> |
111 {{ comment.data|linebreaksbr }}<br /> |
116 {% endfor %} |
112 {% endfor %} |
117 {% endif %} |
113 {% endif %} |
|
114 <hr /> |
118 |
115 |
119 {% if can_comment %} |
116 {% if can_comment %} |
120 Add comment:<br /> |
117 Add comment:<br /> |
121 <form action="" method="post"> |
118 <form action="" method="post"> |
122 {% csrf_token %} |
119 {% csrf_token %} |