pytask/templates/task/browse_textbooks.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 00:34:23 +0530
changeset 135 014d812e625e
parent 134 563fe356947d
child 138 5a94c774473c
permissions -rw-r--r--
edit textbook works fine

{% 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 %}