templates/task/addmentor.html
branchbuildout
changeset 227 3c8f3b0e5b00
parent 214 679c7e237052
child 228 81994e525e69
--- a/templates/task/addmentor.html	Tue Mar 09 11:39:34 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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 mentor for the task sends him a request. If he accepts the request, he will also be the mentor for this task
-    {% ifequal task.status "UP" %}
-        and can view/edit<sup><a href="/about/mentor/" 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/mentor/" 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 mentor
-            {% endfor %}
-            on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br />
-        {% endfor %}
-    {% endif %}
-{% endblock %}