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