--- a/templates/index.html Fri Feb 26 22:45:19 2010 +0530
+++ b/templates/index.html Fri Feb 26 23:22:23 2010 +0530
@@ -55,8 +55,17 @@
{% if user.task_mentors.count %}
<br><a href="/user/mentor/">Mentoring</a> {{ user.task_mentors.count }}
{% ifnotequal user.task_mentors.count 1 %}
- tasks!
+ tasks!
+ {% else %}
+ task!
{% endifnotequal %}
- task!
+ <br />
+ {% endif %}
+
+ {% if unpublished_tasks %}
+ <br />Unpublished tasks:<br />
+ {% for a_task in unpublished_tasks %}
+ <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a>
+ {% endfor %}
{% endif %}
{% endblock %}