diff options
Diffstat (limited to 'templates/task')
-rw-r--r-- | templates/task/addmentor.html | 26 | ||||
-rw-r--r-- | templates/task/addtask.html | 16 | ||||
-rw-r--r-- | templates/task/assign.html | 9 | ||||
-rw-r--r-- | templates/task/assignpynts.html | 42 | ||||
-rw-r--r-- | templates/task/browse.html | 8 | ||||
-rw-r--r-- | templates/task/claim.html | 52 | ||||
-rw-r--r-- | templates/task/close.html | 22 | ||||
-rw-r--r-- | templates/task/complete.html | 19 | ||||
-rw-r--r-- | templates/task/create.html | 10 | ||||
-rw-r--r-- | templates/task/delete.html | 12 | ||||
-rw-r--r-- | templates/task/edittask.html | 10 | ||||
-rw-r--r-- | templates/task/publish.html | 16 | ||||
-rw-r--r-- | templates/task/remove_user.html | 11 | ||||
-rw-r--r-- | templates/task/removetask.html | 17 | ||||
-rw-r--r-- | templates/task/report.html | 21 | ||||
-rw-r--r-- | templates/task/view.html | 173 |
16 files changed, 0 insertions, 464 deletions
diff --git a/templates/task/addmentor.html b/templates/task/addmentor.html deleted file mode 100644 index 9bab81c..0000000 --- a/templates/task/addmentor.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.<br /><br /> - Requesting a user to act as a reviewer for the task sends him a request. If he accepts the request, he will also be the reviewer for this task - {% ifequal task.status "UP" %} - and can view/edit<sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> the task. But only the creator of a task can publish the task. - {% else %} - and will have all the rights<sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> you posses over the task. - {% endifequal %} - <br /> - <br /> - <form action="" method="post"> - {{form.as_table}} - <input type="submit" value="Submit"> - </form> - {% if pending_requests %} - Pending requests:<br /> - {% for req in pending_requests %} - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested - {% for a_user in req.sent_to.all %} - <a href="/user/view/uid={{a_user.id}}">{{a_user.username}}</a> to act as a reviewer - {% endfor %} - on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br /> - {% endfor %} - {% endif %} -{% endblock %} diff --git a/templates/task/addtask.html b/templates/task/addtask.html deleted file mode 100644 index 460b449..0000000 --- a/templates/task/addtask.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Add tasks for {{task.title}} -{% endblock %} -{% block content %} - {% if errors %} - Please correct the following errors.<br /> - {% for err in errors %} - {{err}}<br /> - {% endfor %} - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/assign.html b/templates/task/assign.html deleted file mode 100644 index 8c4e3d2..0000000 --- a/templates/task/assign.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - <a href="/task/claim/tid={{task.id}}">click here</a> to return to the claims page.<br /><br /> - Select a user to assign this task.<br /> - <form action="" method="POST"> - {{form.as_table}} - <input type="submit" value="Assign Task"> - </form> -{% endblock %} diff --git a/templates/task/assignpynts.html b/templates/task/assignpynts.html deleted file mode 100644 index cbd0f84..0000000 --- a/templates/task/assignpynts.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.<br /> - - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> - {% if prev_pynts %} - <a href="/task/complete/tid={{task.id}}">Mark task as complete.</a> - <hr /> - {% endif %} - {% if pynt_requests %} - <br/>Previous pynts:<br /> - {% for req in pynt_requests %} - <hr /> - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested assigning of {{req.pynts}} pynts to - <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> - on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br /> - {% if req.is_replied %} - status: - {% if req.reply %} - Approved by <a href="/user/view/uid={{req.replied_by.id}}">{{req.replied_by.username}}</a> - on {{req.reply_date|date:"D d M Y"}} at {{req.reply_date|time:"H:i"}}<br /> - {% else %} - Rejected by <a href="/user/view/uid={{req.replied_by.id}}">{{req.replied_by.username}}</a> - on {{req.reply_date|date:"D d M Y"}} at {{req.reply_date|time:"H:i"}}<br /> - {% if req.remarks %} - Reason: {{req.remarks}} - {% endif %} - {% endif %} - {% else %} - status: Request pending - {% endif %} - {% endfor %} - {% else %} - No assigning of pynts has been made for this task. - {% endif %} -{% endblock %} diff --git a/templates/task/browse.html b/templates/task/browse.html deleted file mode 100644 index 7ca8705..0000000 --- a/templates/task/browse.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - List of all the tasks:<ul> - {% for task in task_list %} - <li><a href="/task/view/tid={{ task.id }}">{{ task.title }}</a></li> - {% endfor %} - </ul> -{% endblock %} diff --git a/templates/task/claim.html b/templates/task/claim.html deleted file mode 100644 index c67c0e6..0000000 --- a/templates/task/claim.html +++ /dev/null @@ -1,52 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if user_can_claim %} - Propose a claim to work on this task.<sup><a href="/about/claimtask/" target="_blank">learn more</a></sup><br /><br /> - {% endif %} - {% if claims %} - List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br /> - {% for claim in claims %} - <hr /> - <a href="/user/view/uid={{claim.sent_from.id}}">{{claim.sent_from.username}}</a> - on {{claim.sent_date|date:"D d M Y"}} at {{claim.sent_date|time:"H:i"}} wrote:<br /> - {{claim.remarks}}<br /> - {% endfor %} - {% else %} - {% if task_claimable %} - There are no claims for this task yet.<br /> - {% if user_can_claim %} - Be the first to claim the task.<br /> - {% endif %} - {% else %} - The task cannot be claimed at this stage.<br /> - {% endif %} - <a href="/task/view/tid={{task.id}}">Click here</a> to view the task.<br /> - {% endif %} - {% if task_claimed and is_reviewer %} - <a href="/task/assign/tid={{task.id}}">Select a user to assign the work.</a><sup><a href="/about/assigntask/" target="_blank">learn more</a></sup> - {% endif %} - {% if user_can_claim %} - <!-- - {% if errors %} - {% for error in errors %} - {{error}}<br /> - {% endfor %} - {% endif %} - - <hr /> - Claim proposal:<br /> - <form action="" method="post"> - <textarea name="message"></textarea><br /> - <input type="submit" value="Submit Claim"><br /> - - </form> - --> - <hr /> - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit Claim"><br /> - Please note that you can claim only once and so write your proposal carefully.<br /> - </form> - {% endif %} - -{% endblock %} diff --git a/templates/task/close.html b/templates/task/close.html deleted file mode 100644 index ea4cef0..0000000 --- a/templates/task/close.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - If a task is closed, it implies the task is no more a valid task. The task cannot be edited or added subtasks/dependencies. - Please <a href="/task/assignpynts/tid={{task.id}}">click here</a> to return to assign pynts page if you want to request assign of pynts. - You cannot request assign of pynts and all the pending requests on this task will be made invalid when a task is closed.<br /><br /> - - The only difference between marking a task as closed and completed is that the tasks depending on completed tasks will be free to be claimed - and worked on. This action cannot be undone. If you have double checked every thing, please provide a reason and close the task.<br /> - - <br /> - {% if error %} - Please provide a reason for closing the task. - {% endif %} - <form action="" method="post"> - Reason: <input type="text" name="reason"> - <input value="Close the task" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/complete.html b/templates/task/complete.html deleted file mode 100644 index a8aedd3..0000000 --- a/templates/task/complete.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - Marking a task as complete implies the task has been completed successfully. It implies that all the required files - are available as attatchments in comments and all the users worked on this task were pynted accordingly.<br /><br /> - This action sets the task as completed and frees all the tasks depending on this task. Henceforth, the task <strong>can not</strong> be - commented upon or edited by anyone.<br /><br /> - If there are pending requests for assigning pynts, they will be deleted and admins will not be able to approve those requests. - Hence you cannot assign pynts to anyone for this task anymore. You must wait for the requests to be approved by any of the admins. - If you would like to request for assigning more pynts, return to assign pynts page by clicking - <a href="/task/assignpynts/tid={{task.id}}">here</a>.<br /><br /> - If you have double checked everything, confirm this action by clicking the button below. - <form action="" method="post"> - <input value="Mark as Complete" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/create.html b/templates/task/create.html deleted file mode 100644 index 7ae29ab..0000000 --- a/templates/task/create.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if error_msg %} - {{ error_msg }}<br /> - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> -{% endblock %} diff --git a/templates/task/delete.html b/templates/task/delete.html deleted file mode 100644 index dffe900..0000000 --- a/templates/task/delete.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - Are you sure you want to delete the task. This action cannot be undone.<br /> - - <form action="" method="post"> - Reason: <input type="text" name="reason"> - <input value="Delete" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/edittask.html b/templates/task/edittask.html deleted file mode 100644 index 7ae29ab..0000000 --- a/templates/task/edittask.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if error_msg %} - {{ error_msg }}<br /> - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> -{% endblock %} diff --git a/templates/task/publish.html b/templates/task/publish.html deleted file mode 100644 index 7f6c062..0000000 --- a/templates/task/publish.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - Publishing a task will make the task visible to every one and cannot be edited there after.<br /><br /> - Only you will have reviewering rights on this task. But you can request other users also to reviewer the task. - <sup><a href="/about/addreviewers/" target="_blank">learn more</a></sup><br /><br /> - This action cannot be undone. - <br /> - Please confirm if you want to publish. - <form action="" method="post"> - <input value="Publish" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/remove_user.html b/templates/task/remove_user.html deleted file mode 100644 index 5ea2b19..0000000 --- a/templates/task/remove_user.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Remove users for {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to {{task.title}} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/removetask.html b/templates/task/removetask.html deleted file mode 100644 index 0131520..0000000 --- a/templates/task/removetask.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Remove tasks for {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to task.<br /> - {% if errors %} - Please correct the following errors.<br /> - {% for err in errors %} - {{err}}<br /> - {% endfor %} - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/report.html b/templates/task/report.html deleted file mode 100644 index e1a2aa3..0000000 --- a/templates/task/report.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} -{% if not old_reports %} -There are no reports submitted as of now -{% else %} -{% for rep in old_reports %} -{{rep.submitted_by}} | <a href="{{rep.attachment.url}}">{{rep.attachment.name}}</a> <br /> -{% endfor %} -{% endif %} -<hr /> -{% if can_upload %} -Submit a report: <br /> -<form action='' method=post enctype="multipart/form-data"> -{{ form.as_p }} -<input type=submit value=submit /> -</form> -{% endif %} -{% endblock %} diff --git a/templates/task/view.html b/templates/task/view.html deleted file mode 100644 index 52346de..0000000 --- a/templates/task/view.html +++ /dev/null @@ -1,173 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <h3>{{ task.title }}</h3> - - {% if can_edit %} - <a href="/task/edit/tid={{task.id}}">Edit task</a> - {% endif %} - - {% if can_publish %} - <a href="/task/publish/tid={{task.id}}">Publish task</a> - {% endif %} - - {% if can_close %} - <a href="/task/close/tid={{task.id}}">Close this task</a> - {% endif %} - - {% if can_delete %} - <a href="/task/delete/tid={{task.id}}">Delete task</a> - {% endif %} - - <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> - on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}<br /> - - {% ifequal task.status "UP" %} - Task can be viewed by: - {% else %} - Reviewers: - {% endifequal %} - - {% for reviewer in reviewers %} - <a href="/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a> - {% endfor %} - - {% if can_mod_reviewers %} - <a href="/task/addreviewer/tid={{task.id}}"> - {% ifequal task.status "UP" %} - Request others to view/edit the task - {% else %} - Add another Reviewer to this task - {% endifequal %}</a> - {% endif %} - <br /> - - <hr /> - <b>Description:</b><br /> - {{ task.desc|linebreaksbr }} - <br /><br /><hr /> - {% if task.tags.count %} - Tags: - {% for tag in task.tags %} - {{tag}} - {% endfor %} - <hr /> - {% endif %} - - {% if deps %} - - <br />The task has following dependencies.<ul> - {% for dep in deps %} - <li><a href="/task/view/tid={{dep.id}}">{{dep.title}}</a></li> - {% endfor %} - </ul> - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> - <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> - {% endif %} - - {% else %} - - {% if subs %} - The task has following sub tasks.<ul> - {% for sub in subs %} - <li><a href="/task/view/tid={{sub.id}}">{{sub.title}}</a></li> - {% endfor %} - </ul> - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add more subtasks</a> - <a href="/task/remtask/tid={{task.id}}">remove an existing subtask</a> - {% endif %} - - {% else %} - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add a subtask/dependency </a> - {% endif %} - - {% endif %} - {% endif %} - - {% ifequal task.status "CD" %} - Task has been closed by <a href="/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a> - on {{closing_notification.sent_date|date:"D d M Y"}} at {{closing_notification.sent_date|time:"H:i"}}<br /> - <b>Reason: </b>{{closing_notification.remarks}}<br /> - {% endifequal %} - - {% ifequal task.status "CM" %} - Task has been marked complete by <a href="/user/view={{completed_notification.sent_from.id}}"> - {{completed_notification.sent_from.username}}</a> - on {{completed_notification.sent_date|date:"D d M Y"}} at {{completed_notification.sent_date|time:"H:i"}}<br /> - {% endifequal %} - - {% ifequal task.status "OP" %} - <br />There are no users working on this task.<br /> - {% endifequal %} - - {% if subs %} - <br />This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br /> - {% endif %} - - {% if assigned_users %} - Users working on this task: - {% for user in assigned_users %} - <a href="/user/view/uid={{user.id}}">{{user.username}}</a> - {% endfor %} - {% if is_reviewer %} - <a href="/task/remuser/tid={{task.id}}">Remove an existing user</a> - {% endif %} - <br /> - {% endif %} - - {% if can_assign_pynts %} - <a href="/task/assignpynts/tid={{task.id}}">View/Assign pynts</a> - {% endif %} - - {% if task_claimable %} - <a href="/task/claim/tid={{task.id}}"> - {% if is_reviewer %} - View claims - {% else %} - <a href="/task/report/tid={{task.id}}">Submit Work</a> - Claim the task - {% endif %}</a> - {% endif %} - - {% if comments %} - <hr /> - comments:<br /><br /> - {% for comment in comments %} - <a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> - on {{ comment.creation_datetime|date:"D d M Y"}} at {{comment.creation_datetime|time:"H:i"}} wrote:<br /> - {{ comment.data|linebreaksbr }}<br /><br /> - {% endfor %} - {% endif %} - - {% if not is_guest %} - <hr /> - {% if error_msg %} - {{error_msg}}<br /> - {% endif %} - {% ifnotequal task.status "UP" %} - Add comment:<br /> - <form action="" method="post"> - <!-- we might even want to use forms here --> - <textarea name="data"></textarea><br /> - <input type="submit" value="Submit"> - </form> - {% else %} - {% if is_reviewer %} - Add comment:<br /> - <form action="" method="post"> - <!-- we might even want to use forms here --> - <textarea name="data"></textarea><br /> - <input type="submit" value="Submit"> - </form> - {% endif %} - {% endifnotequal %} - {% endif %} -{% endblock %} |