project/templates/talk/talk_detail.html
changeset 1 fda1c66b25f9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/templates/talk/talk_detail.html	Fri Oct 30 15:09:12 2009 +0530
@@ -0,0 +1,43 @@
+{% extends "base.html" %}
+
+{% block title %}{{ object.title }}{% endblock %}
+
+{% block content %}
+<h1>{{ object.title }}</h1>
+<p><a href="/talks/">View all talks</a></p>
+
+<style>
+dl.default dt {
+    font-weight: bold;
+}
+dl.default dd {
+    margin-bottom: 1em;
+}
+</style>
+
+<dl class="default">
+    <dt>Title</dt>
+    <dd>{{ object.title }}</dd>
+    <dt>Speaker</dt>
+    <dd>{{ object.speaker.get_profile.fullname }}</dd>
+    <dt>Speaker's profile</dt>
+    <dd>{{ object.speaker.get_profile.about }}</dd>
+    <dt>Topic</dt>
+    <dd>{{ object.topic }}</dd>
+    <dt>Abstract</dt>
+    <dd>{{ object.abstract }}</dd>
+    <dt>Outline</dt>
+    <dd>{{ object.outline }}</dd>
+    <dt>Audience</dt>
+    {% load talk_extras %}
+    {% with choices|choice:object.audience as audience %}
+    <dd>{{ audience|title }}</dd>
+    {% endwith %}
+    <dt>Tags</dt>
+    <dd>{{ object.tags }}</dd>
+</dl>
+
+</ul>
+{% endblock content %}
+
+