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

{% extends 'base.html' %}
{% block content %}
    {% if comp_textbooks %}
    Textbooks that were completed recently<ul>
    {% for textbook in comp_textbooks %}
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    {% endfor %}
    </ul>
    <br />
    {% endif %}

    {% if open_textbooks %}
    textbooks that are open for contribution<ul>
    {% for textbook in comp_textbooks %}
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    {% endfor %}
    </ul>
    <br />
    {% endif %}

    {% if unpub_textbooks %}
    Textbooks that have been created but need approval<ul>
    {% for textbook in unpub_textbooks %}
        <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    {% endfor %}
    </ul>
    <br />
    {% endif %}
{% endblock %}