equal
deleted
inserted
replaced
66 return show_msg(user, "You are not authorised to upload data to this task", task_url, "view the task") |
66 return show_msg(user, "You are not authorised to upload data to this task", task_url, "view the task") |
67 |
67 |
68 pass |
68 pass |
69 else: |
69 else: |
70 form = WorkReportForm() |
70 form = WorkReportForm() |
71 context.update("form":form) |
71 context.update({"form":form}) |
72 return render_to_response('task/report.html', context) |
72 return render_to_response('task/report.html', context) |
73 |
73 |
74 |
74 |
75 def publish_task(request, tid): |
75 def publish_task(request, tid): |
76 """ check if user is the reviewer and also if the task status is UP. |
76 """ check if user is the reviewer and also if the task status is UP. |