pytask/templates/task/browse_textbooks.html
changeset 376 5a94c774473c
parent 372 563fe356947d
child 417 b37e541bf950
equal deleted inserted replaced
375:40f1ef7a46d8 376:5a94c774473c
     8     </ul>
     8     </ul>
     9     <br />
     9     <br />
    10     {% endif %}
    10     {% endif %}
    11 
    11 
    12     {% if open_textbooks %}
    12     {% if open_textbooks %}
    13     textbooks that are open for contribution<ul>
    13     Textbooks that are open for contribution<ul>
    14     {% for textbook in comp_textbooks %}
    14     {% for textbook in open_textbooks %}
    15         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    15         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    16     {% endfor %}
    16     {% endfor %}
    17     </ul>
    17     </ul>
    18     <br />
    18     <br />
    19     {% endif %}
    19     {% endif %}
    20 
    20 
    21     {% if unpub_textbooks %}
    21     {% if unpub_textbooks %}
    22     Textbooks that have been created but need approval<ul>
    22     Textbooks that need approval<ul>
    23     {% for textbook in unpub_textbooks %}
    23     {% for textbook in unpub_textbooks %}
    24         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    24         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    25     {% endfor %}
    25     {% endfor %}
    26     </ul>
    26     </ul>
    27     <br />
    27     <br />