templates/task/assignpynts.html
changeset 236 39f83b4cf557
parent 235 e338eaeccad7
--- a/templates/task/assignpynts.html	Fri Jan 14 00:57:39 2011 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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 %}