# HG changeset patch
# User nishanth
# Date 1267482992 -19800
# Node ID d69a562f969ddf23286d4f4657496e588b897c2b
# Parent 229bed827965512e6da3d731f89dd38dc28f54ba
homepage for logged in users has been made to look better.
diff -r 229bed827965 -r d69a562f969d templates/index.html
--- a/templates/index.html Tue Mar 02 03:57:56 2010 +0530
+++ b/templates/index.html Tue Mar 02 04:06:32 2010 +0530
@@ -14,18 +14,20 @@
{% if can_create_task %}
Create a task
+
{% endif %}
-
{% ifequal user.get_profile.rights "MG" %}
Request another user to be a Developer
Request another user to act as manager
+
{% endifequal %}
{% ifequal user.get_profile.rights "AD" %}
Request another user to be a Developer
Request another user to act as a Manager
Request another user to act as an Admin
+
{% endifequal %}
-
+
{% if user.unread_notifications.count %}
You have {{ user.unread_notifications.count }} unread
@@ -44,9 +46,13 @@
{% else %}
request
{% endifnotequal %}
-
+
+ {% else %}
+ {% if user.unread_notifications.count %}
+
+ {% endif %}
{% endif %}
-
+