templates/index.html
changeset 141 2489392ffb56
parent 139 56203661002a
child 143 796ff9e279a8
equal deleted inserted replaced
140:7bdcbb4f2c27 141:2489392ffb56
    63         {% for a_task in unpublished_tasks %}
    63         {% for a_task in unpublished_tasks %}
    64             <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a>&nbsp;&nbsp;&nbsp;
    64             <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a>&nbsp;&nbsp;&nbsp;
    65         {% endfor %}
    65         {% endfor %}
    66     {% endif %}
    66     {% endif %}
    67     <br /><br />
    67     <br /><br />
    68     {% ifnotequal user.get_profile.rights "CT" %}
    68     {% if can_create_task %}
    69         <a href="/task/create/">Create a task</a><br />
    69         <a href="/task/create/">Create a task</a><br />
    70     {% endifnotequal %}
    70     {% endif %}
    71     {% ifequal user.get_profile.rights "MG" %}
    71     {% ifequal user.get_profile.rights "MG" %}
    72         <a href="/user/make/dv/">Request another to be a Developer</a>
    72         <a href="/user/make/dv/">Request another to be a Developer</a>
    73         <a href="/user/make/mg/">Request another user to act as manager</a><br />
    73         <a href="/user/make/mg/">Request another user to act as manager</a><br />
    74     {% endifequal %}
    74     {% endifequal %}
    75     {% ifequal user.get_profile.rights "AD" %}
    75     {% ifequal user.get_profile.rights "AD" %}