diff options
author | Madhusudan.C.S | 2009-11-23 12:01:47 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2009-11-23 12:01:47 +0530 |
commit | 7690e31656fece5cd80be894f7907f25551291be (patch) | |
tree | ea0bbd18e158c595169855c6172d69eaaba3abad /project/templates/talk/list-talks.html | |
parent | 29286ab7df569702abd4b2226e45f58abf2549d0 (diff) | |
download | scipycon-7690e31656fece5cd80be894f7907f25551291be.tar.gz scipycon-7690e31656fece5cd80be894f7907f25551291be.tar.bz2 scipycon-7690e31656fece5cd80be894f7907f25551291be.zip |
Added a template for listing my talks.
Diffstat (limited to 'project/templates/talk/list-talks.html')
-rw-r--r-- | project/templates/talk/list-talks.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/project/templates/talk/list-talks.html b/project/templates/talk/list-talks.html new file mode 100644 index 0000000..17a5216 --- /dev/null +++ b/project/templates/talk/list-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>Contact</th> + <th>Topic</th> + <th>Duration</th> + <th>Audience type</th> + <th>Edit</th> + </tr> + {% for talk in talk_list %} + <tr> + <td>{{ talk.title }}</td> + <td>{{ talk.contact }}</td> + <td>{{ talk.topic }}</td> + <td>{{ talk.duration }}</td> + <td>{{ talk.audience }}</td> + <td><u><a href="/edit-talk/{{ talk.id }}/">Edit</a></u></td> + </tr> + {% endfor %} +</table> +{% else %} +<h2>No talks</h2> +{% endif %} +{% endblock content %} |