pytask/templates/task/browse.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 05 Feb 2011 03:24:52 +0530
changeset 559 96e8e65a3738
parent 506 db2edf922849
permissions -rw-r--r--
Display Pynts on task/textbook description page. Also make some style fixes.

{% extends "base.html" %}


{% block content %}
  {% if open_tasks %}
    Tasks that are open for contribution
    <ul>
      {% for task in open_tasks %}
      <li>
        <a href="{% url view_task task.id %}">
          {{ task.title }}
        </a>
      </li>
    {% endfor %}
    </ul>
    <br />
  {% endif %}

  {% if working_tasks %}
    Tasks that are being worked on
    <ul>
      {% for task in working_tasks %}
        <li>
          <a href="{% url view_task task.id %}">
            {{ task.title }}
          </a>
        </li>
      {% endfor %}
    </ul>
    <br />
  {% endif %}

  {% if comp_tasks %}
    Tasks that were completed recently
    <ul>
      {% for task in comp_tasks %}
        <li>
          <a href="{% url view_task task.id %}">
            {{ task.title }}
          </a>
        </li>
      {% endfor %}
    </ul>
    <br />
  {% endif %}

  {% if unpub_tasks %}
    Tasks that need approval
    <ul>
      {% for task in unpub_tasks %}
        <li>
          <a href="{% url view_task task.id %}">
            {{ task.title }}
          </a>
        </li>
      {% endfor %}
    </ul>
    <br />
  {% endif %}
{% endblock %}