project/templates/talk/list-talks.html
changeset 41 cf02d105aea2
equal deleted inserted replaced
40:c8414e2b34ce 41:cf02d105aea2
       
     1 {% extends "base.html" %}
       
     2 
       
     3 {% block title %}My Talks{% endblock %}
       
     4 
       
     5 {% block content %}
       
     6 <h1>My Talks</h1>
       
     7 {% if talk_list %}
       
     8 <h3>List of the talks I have submitted.</h3>
       
     9 
       
    10 <table class="list-talks">
       
    11   <tr>
       
    12     <th>Title</th>
       
    13     <th>Contact</th>
       
    14     <th>Topic</th>
       
    15     <th>Duration</th>
       
    16     <th>Audience type</th>
       
    17     <th>Edit</th>
       
    18   </tr>
       
    19   {% for talk in talk_list %}
       
    20     <tr>
       
    21       <td>{{ talk.title }}</td>
       
    22       <td>{{ talk.contact }}</td>
       
    23       <td>{{ talk.topic }}</td>
       
    24       <td>{{ talk.duration }}</td>
       
    25       <td>{{ talk.audience }}</td>
       
    26       <td><u><a href="/edit-talk/{{ talk.id }}/">Edit</a></u></td>
       
    27     </tr>
       
    28   {% endfor %}
       
    29 </table>
       
    30 {% else %}
       
    31 <h2>No talks</h2>
       
    32 {% endif %}
       
    33 {% endblock content %}