pytask/templates/task/browse_textbooks.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 00:23:47 +0530
changeset 372 563fe356947d
child 376 5a94c774473c
permissions -rw-r--r--
created browse textbooks page
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 %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
    textbooks that are open for contribution<ul>
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
    {% for textbook in comp_textbooks %}
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 %}
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
    Textbooks that have been created but need approval<ul>
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 %}