pytask/templates/task/browse.html
changeset 435 1217d808d70f
parent 431 fcc87a3f0311
child 506 db2edf922849
--- a/pytask/templates/task/browse.html	Mon Jan 17 02:52:42 2011 +0530
+++ b/pytask/templates/task/browse.html	Mon Jan 17 02:53:11 2011 +0530
@@ -2,39 +2,59 @@
 
 {% 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>
+  {% 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 %}
+  {% 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 %}
+  {% 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 %}
+  {% 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 %}
+  {% 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 %}
+  {% 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 %}