project/templates/talk/list-all-talks.html
changeset 53 cc2604e0333c
child 54 351ca8d74da8
equal deleted inserted replaced
52:5a108419f709 53:cc2604e0333c
       
     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>Speaker</th>
       
    14     <th>Topic</th>
       
    15     <th>Duration</th>
       
    16     <th>Audience type</th>
       
    17     <th>Abstract</th>
       
    18   </tr>
       
    19   {% for talk in talk_list %}
       
    20     <tr>
       
    21       <td>{{ talk.title }}</td>
       
    22       <td>{{ talk.speaker.get_full_name }}</td>
       
    23       <td>{{ talk.topic }}</td>
       
    24       <td>{{ talk.duration }}</td>
       
    25       <td>{{ talk.audience }}</td>
       
    26       <td>{{ talk.abstract }}</td>
       
    27     </tr>
       
    28   {% endfor %}
       
    29 </table>
       
    30 {% else %}
       
    31 <h2>No talks</h2>
       
    32 {% endif %}
       
    33 {% endblock content %}