diff options
author | nishanth | 2010-03-02 04:06:32 +0530 |
---|---|---|
committer | nishanth | 2010-03-02 04:06:32 +0530 |
commit | 34c55c077fd210a55476e76a805d9562efa3b22d (patch) | |
tree | 90ac792e7a11dd5f8fe138e554e1078d6539724f | |
parent | 976b477790b6fa6b53f6ad17621f04601701fe1f (diff) | |
download | pytask-34c55c077fd210a55476e76a805d9562efa3b22d.tar.gz pytask-34c55c077fd210a55476e76a805d9562efa3b22d.tar.bz2 pytask-34c55c077fd210a55476e76a805d9562efa3b22d.zip |
homepage for logged in users has been made to look better.
-rw-r--r-- | templates/index.html | 14 |
1 files 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 %} <a href="/task/create/">Create a task</a><br /> - {% endif %} <br /> + {% endif %} {% 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 /> - {% endifequal %} <br /> + {% endifequal %} + {% 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 %} |