pytask/templates/task/browse.html
changeset 138 5a94c774473c
equal deleted inserted replaced
137:40f1ef7a46d8 138:5a94c774473c
       
     1 {% extends 'base.html' %}
       
     2 {% block content %}
       
     3 
       
     4     {% if open_tasks %}
       
     5     Tasks that are open for contribution<ul>
       
     6     {% for task in open_tasks %}
       
     7         <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
       
     8     {% endfor %}
       
     9     </ul>
       
    10     <br />
       
    11     {% endif %}
       
    12 
       
    13     {% if working_tasks %}
       
    14     Tasks that are being worked on<ul>
       
    15     {% for task in working_tasks %}
       
    16         <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
       
    17     {% endfor %}
       
    18     </ul>
       
    19     <br />
       
    20     {% endif %}
       
    21 
       
    22     {% if comp_tasks %}
       
    23     Tasks that were completed recently<ul>
       
    24     {% for task in comp_tasks %}
       
    25         <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
       
    26     {% endfor %}
       
    27     </ul>
       
    28     <br />
       
    29     {% endif %}
       
    30 
       
    31     {% if unpub_tasks %}
       
    32     Tasks that need approval<ul>
       
    33     {% for task in unpub_tasks %}
       
    34         <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
       
    35     {% endfor %}
       
    36     </ul>
       
    37     <br />
       
    38     {% endif %}
       
    39 {% endblock %}