From 34c55c077fd210a55476e76a805d9562efa3b22d Mon Sep 17 00:00:00 2001
From: nishanth
Date: Tue, 2 Mar 2010 04:06:32 +0530
Subject: homepage for logged in users has been made to look better.
---
templates/index.html | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/templates/index.html b/templates/index.html
index d8e3c25..6346165 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -14,18 +14,20 @@
{% if can_create_task %}
Create a task
- {% endif %}
+ {% 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 %}
+ {% 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 %}
-
+