templates/index.html
changeset 141 2489392ffb56
parent 139 56203661002a
child 143 796ff9e279a8
--- a/templates/index.html	Sun Feb 28 10:43:36 2010 +0530
+++ b/templates/index.html	Sun Feb 28 13:25:24 2010 +0530
@@ -65,9 +65,9 @@
         {% endfor %}
     {% endif %}
     <br /><br />
-    {% ifnotequal user.get_profile.rights "CT" %}
+    {% if can_create_task %}
         <a href="/task/create/">Create a task</a><br />
-    {% endifnotequal %}
+    {% endif %}
     {% ifequal user.get_profile.rights "MG" %}
         <a href="/user/make/dv/">Request another to be a Developer</a>
         <a href="/user/make/mg/">Request another user to act as manager</a><br />