project/templates/talk/list-talks.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 13 Jul 2010 17:00:55 +0530
changeset 106 7ebd3a7e8ccf
parent 41 cf02d105aea2
permissions -rw-r--r--
Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% block title %}My Talks{% endblock %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
<h1>My Talks</h1>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
{% if talk_list %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
<h3>List of the talks I have submitted.</h3>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
<table class="list-talks">
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
  <tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
    <th>Title</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
    <th>Contact</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
    <th>Topic</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
    <th>Duration</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
    <th>Audience type</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
    <th>Edit</th>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
  </tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
  {% for talk in talk_list %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    <tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
      <td>{{ talk.title }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
      <td>{{ talk.contact }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
      <td>{{ talk.topic }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
      <td>{{ talk.duration }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
      <td>{{ talk.audience }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
      <td><u><a href="/edit-talk/{{ talk.id }}/">Edit</a></u></td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
    </tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
  {% endfor %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
</table>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
{% else %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
<h2>No talks</h2>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
{% endif %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
{% endblock content %}