pytask/templates/index.html
changeset 129 13e171f09941
parent 127 32457bce3437
equal deleted inserted replaced
128:4c349f310dfc 129:13e171f09941
    12     	<a href="/task/textbook/create/">Add a new textbook</a><br />
    12     	<a href="/task/textbook/create/">Add a new textbook</a><br />
    13         <a href="/task/create/">Create a task</a><br />
    13         <a href="/task/create/">Create a task</a><br />
    14     <br />
    14     <br />
    15     {% endif %}
    15     {% endif %}
    16     
    16     
       
    17     {% if unpublished_tasks %}
       
    18     Tasks created by you that need approval:<ul>
       
    19         {% for a_task in unpublished_tasks %}
       
    20             <li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
       
    21         {% endfor %}
       
    22         </ul>
       
    23     <br />
       
    24     {% endif %}
       
    25 
    17     {% if reviewing_tasks %}
    26     {% if reviewing_tasks %}
    18     Tasks you are reviewering:<ul>
    27     Tasks you are reviewering:<ul>
    19         {% for a_task in reviewing_tasks %}
    28         {% for a_task in reviewing_tasks %}
    20             <li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
    29             <li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
    21         {% endfor %}
    30         {% endfor %}