diff -r 070f01dd7d8e -r 9b0812962133 pytask/templates/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/templates/index.html Sun Jan 09 15:01:30 2011 +0530 @@ -0,0 +1,54 @@ +{% extends 'base.html' %} +{% block content %} + {% if not user %} + Welcome Guest
+ Register + Login

+ {% else %} + Logged in as {{ user.username }}

+ {% endif %} + + {% if can_create_task %} + Add a new textbook
+ Create a task
+
+ {% endif %} + + + {% if unpublished_tasks %} + Unpublished tasks viewable by you: +
+ {% endif %} + + {% if reviewered_tasks %} + Tasks you are reviewering: +
+ {% endif %} + + {% if selected_tasks %} + Tasks that have been assigned to you: +
+ {% endif %} + + {% if claimed_tasks %} + Tasks claimed but still not assigned to you: +
+ {% endif %} + +{% endblock %}