pytask/templates/task/view_textbook.html
changeset 559 96e8e65a3738
parent 547 1bfa67f465b4
equal deleted inserted replaced
558:fd3e6f5f01bd 559:96e8e65a3738
    14     <h2>{{ textbook.title }}</h2>
    14     <h2>{{ textbook.title }}</h2>
    15 
    15 
    16     {% if can_edit %}
    16     {% if can_edit %}
    17         <a href="{% url edit_textbook textbook.id %}">Edit Text book</a>
    17         <a href="{% url edit_textbook textbook.id %}">Edit Text book</a>
    18     {% endif %}
    18     {% endif %}
    19     
    19 
    20     {% if can_approve %}
    20     {% if can_approve %}
    21         <a href="{% url approve_textbook textbook.id %}">Approve Text book</a>
    21         <a href="{% url approve_textbook textbook.id %}">Approve Text book</a>
    22     {% endif %}
    22     {% endif %}
    23 
    23 
    24     <hr />
    24     <hr />
    25 
    25     <strong>Pynts: {{ textbook.pynts }}</strong><br/>
    26     {% if textbook.tags.count %}
    26     {% if textbook.tags.count %}
    27       Tags: {% as_tags textbook.tags %}<hr />
    27       <strong>Tags:</strong> {% as_tags textbook.tags %}<hr />
    28     {% endif %}
    28     {% endif %}
    29 
    29 
    30     <h3>
    30     <h3>
    31       Tasks:
    31       Tasks:
    32       {% if can_create_chapters %}
    32       {% if can_create_chapters %}