pytask/templates/task/browse_textbooks.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 11:51:12 +0530
changeset 376 5a94c774473c
parent 372 563fe356947d
child 417 b37e541bf950
permissions -rw-r--r--
browse tasks works fine now
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
372
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends 'base.html' %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
{% block content %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
    {% if comp_textbooks %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
    Textbooks that were completed recently<ul>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
    {% for textbook in comp_textbooks %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
    {% endfor %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
    </ul>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
    <br />
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
    {% endif %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
    {% if open_textbooks %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 372
diff changeset
    13
    Textbooks that are open for contribution<ul>
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 372
diff changeset
    14
    {% for textbook in open_textbooks %}
372
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
    {% endfor %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
    </ul>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
    <br />
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    19
    {% endif %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
    {% if unpub_textbooks %}
376
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 372
diff changeset
    22
    Textbooks that need approval<ul>
372
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
    {% for textbook in unpub_textbooks %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    24
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
    {% endfor %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    26
    </ul>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    27
    <br />
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    28
    {% endif %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    29
{% endblock %}