Added template file for list of talks.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 09 Dec 2009 22:57:53 +0530
changeset 53 cc2604e0333c
parent 52 5a108419f709
child 54 351ca8d74da8
Added template file for list of talks.
project/templates/talk/list-all-talks.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/templates/talk/list-all-talks.html	Wed Dec 09 22:57:53 2009 +0530
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block title %}My Talks{% endblock %}
+
+{% block content %}
+<h1>My Talks</h1>
+{% if talk_list %}
+<h3>List of the talks I have submitted.</h3>
+
+<table class="list-talks">
+  <tr>
+    <th>Title</th>
+    <th>Speaker</th>
+    <th>Topic</th>
+    <th>Duration</th>
+    <th>Audience type</th>
+    <th>Abstract</th>
+  </tr>
+  {% for talk in talk_list %}
+    <tr>
+      <td>{{ talk.title }}</td>
+      <td>{{ talk.speaker.get_full_name }}</td>
+      <td>{{ talk.topic }}</td>
+      <td>{{ talk.duration }}</td>
+      <td>{{ talk.audience }}</td>
+      <td>{{ talk.abstract }}</td>
+    </tr>
+  {% endfor %}
+</table>
+{% else %}
+<h2>No talks</h2>
+{% endif %}
+{% endblock content %}