homepage for logged in users has been made to look better.
authornishanth
Tue, 02 Mar 2010 04:06:32 +0530
changeset 170 d69a562f969d
parent 169 229bed827965
child 171 8f31ed9817fa
homepage for logged in users has been made to look better.
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 %}
         <a href="/task/create/">Create a task</a><br />
+    <br />
     {% endif %}
-    <br />
     {% ifequal user.get_profile.rights "MG" %}
         <a href="/user/make/dv/">Request another user to be a Developer</a><br />
         <a href="/user/make/mg/">Request another user to act as manager</a><br />
+    <br />
     {% endifequal %}
     {% ifequal user.get_profile.rights "AD" %}
         <a href="/user/make/dv/">Request another user to be a Developer</a><br />
         <a href="/user/make/mg/">Request another user to act as a Manager</a><br />
         <a href="/user/make/ad">Request another user to act as an Admin</a><br />
+    <br />
     {% endifequal %}
-    <br />
+    
 
     {% if user.unread_notifications.count %}
         You have {{ user.unread_notifications.count }} <a href='/user/notifications/'>unread</a>
@@ -44,9 +46,13 @@
         {% else %}
         request
         {% endifnotequal %}
-    <br />
+    <br /><br />
+    {% else %}
+        {% if user.unread_notifications.count %}
+            <br />
+        {% endif %}
     {% endif %}
-    <br />
+    
     
 <!--
     {% if user.task_claimed_users.count %}