summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-12-09 22:57:53 +0530
committerMadhusudan.C.S2009-12-09 22:57:53 +0530
commitac5fe557e3e8784eed425301d0e6fa82a1bd8ebe (patch)
tree9fe9caa432223cb3b7c6fa43ba039e93382c061c
parent7cbf1848a85ab24d3b96586035630a2d91ea8649 (diff)
downloadscipycon-ac5fe557e3e8784eed425301d0e6fa82a1bd8ebe.tar.gz
scipycon-ac5fe557e3e8784eed425301d0e6fa82a1bd8ebe.tar.bz2
scipycon-ac5fe557e3e8784eed425301d0e6fa82a1bd8ebe.zip
Added template file for list of talks.
-rw-r--r--project/templates/talk/list-all-talks.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/project/templates/talk/list-all-talks.html b/project/templates/talk/list-all-talks.html
new file mode 100644
index 0000000..33763ca
--- /dev/null
+++ b/project/templates/talk/list-all-talks.html
@@ -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 %}