diff -r 6d92b7cd2a37 -r d3cfceb8e120 templates/index.html
--- 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 %}
Mentoring {{ user.task_mentors.count }}
{% ifnotequal user.task_mentors.count 1 %}
- tasks!
+ tasks!
+ {% else %}
+ task!
{% endifnotequal %}
- task!
+
+ {% endif %}
+
+ {% if unpublished_tasks %}
+
Unpublished tasks:
+ {% for a_task in unpublished_tasks %}
+ {{a_task.title}}
+ {% endfor %}
{% endif %}
{% endblock %}