pytask/templates/index.html
changeset 127 32457bce3437
parent 126 2763afa1c2a2
child 129 13e171f09941
equal deleted inserted replaced
126:2763afa1c2a2 127:32457bce3437
    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     
    17     {% if reviewing_tasks %}
    18     {% if unpublished_tasks %}
       
    19     Unpublished tasks viewable by you:<ul>
       
    20         {% for a_task in unpublished_tasks %}
       
    21             <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li>
       
    22         {% endfor %}
       
    23         </ul>
       
    24     <br />
       
    25     {% endif %}
       
    26 
       
    27     {% if reviewered_tasks %}
       
    28     Tasks you are reviewering:<ul>
    18     Tasks you are reviewering:<ul>
    29         {% for a_task in reviewered_tasks %}
    19         {% for a_task in reviewing_tasks %}
    30             <li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
    20             <li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
    31         {% endfor %}
    21         {% endfor %}
    32         </ul>
    22         </ul>
    33     <br />
    23     <br />
    34     {% endif %}
    24     {% endif %}