pytask/templates/task/browse.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 17 Jan 2011 02:53:11 +0530
changeset 435 1217d808d70f
parent 431 fcc87a3f0311
child 506 db2edf922849
permissions -rw-r--r--
Use the new forms tags and fix the styling.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
431
fcc87a3f0311 Huh, please don't tell me I will have to refactor so much code again.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 417
diff changeset
     1
{% extends "base.html" %}
fcc87a3f0311 Huh, please don't tell me I will have to refactor so much code again.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 417
diff changeset
     2
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
{% block content %}
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
     5
  {% if open_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
     6
    Tasks that are open for contribution
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
     7
    <ul>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
     8
      {% for task in open_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
     9
      <li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    10
        <a href="{% url view_task task.id %}">
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    11
          {{ task.title }}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    12
        </a>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    13
      </li>
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
    {% endfor %}
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
    </ul>
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
    <br />
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    17
  {% endif %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    19
  {% if working_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    20
    Tasks that are being worked on
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    21
    <ul>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    22
      {% for task in working_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    23
        <li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    24
          <a href="{% url view_task task.id %}">
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    25
            {{ task.title }}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    26
          </a>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    27
        </li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    28
      {% endfor %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    29
    </ul>
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    30
    <br />
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    31
  {% endif %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    32
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    33
  {% if comp_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    34
    Tasks that were completed recently
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    35
    <ul>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    36
      {% for task in comp_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    37
        <li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    38
          <a href="{% url view_task task.id %}">
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    39
            {{ task.title }}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    40
          </a>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    41
        </li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    42
      {% endfor %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    43
    </ul>
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    44
    <br />
435
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    45
  {% endif %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    46
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    47
  {% if unpub_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    48
    Tasks that need approval
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    49
    <ul>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    50
      {% for task in unpub_tasks %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    51
        <li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    52
          <a href="{% url view_task task.id %}">
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    53
            {{ task.title }}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    54
          </a>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    55
        </li>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    56
      {% endfor %}
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    57
    </ul>
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    58
    <br />
1217d808d70f Use the new forms tags and fix the styling.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 431
diff changeset
    59
  {% endif %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    60
{% endblock %}