pytask/templates/task/view_textbook.html
changeset 377 4f0cfd486d9b
parent 370 1be4a3c09a47
child 379 ed2dadfc829a
equal deleted inserted replaced
376:5a94c774473c 377:4f0cfd486d9b
    23             {{tag}}
    23             {{tag}}
    24         {% endfor %}
    24         {% endfor %}
    25         <hr />
    25         <hr />
    26     {% endif %}
    26     {% endif %}
    27 
    27 
       
    28     {% if chapters %}
    28     Chapters: <br />
    29     Chapters: <br />
       
    30     <table>
    29     {% for chap in chapters %}
    31     {% for chap in chapters %}
    30     <ul>
    32     <tr>
    31 	    <li><a href="/task/view/tid={{chap.uniq_key}}">{{chap.title}}</a> </li>
    33 	    <td><a href="/task/view/tid={{chap.uniq_key}}">{{chap.title}}</a> </td>
    32     </ul>
    34 	    <td> {{chap.status}} </td>
       
    35     </tr>
    33     {% endfor %}
    36     {% endfor %}
       
    37     </table>
       
    38     {% else %}
       
    39     There are no chapters in this textbook as of now.<br />
       
    40     {% endif %}
       
    41 
    34 
    42 
    35     
    43     
    36     
    44     
    37         <hr />
    45         <hr />
    38     {% if comments %}
    46     {% if comments %}