project/templates/talk/list-talks.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 230 9649b07aa4c8
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
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
  </tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
  {% for talk in talk_list %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
    <tr>
160
1097a7718f99 Remove Edit Column in list my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    20
      <td><u><a href="/{{ params.scope }}/edit-talk/{{ talk.id }}/">{{ talk.title }}</a></u></td>
41
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
      <td>{{ talk.contact }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
      <td>{{ talk.topic }}</td>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
      <td>{{ talk.duration }}</td>
230
9649b07aa4c8 Change audience database value to human readable value.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 160
diff changeset
    24
      <td>{{ talk.get_audience_display }}</td>
41
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
    </tr>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
  {% endfor %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
</table>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
{% else %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
<h2>No talks</h2>
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
{% endif %}
cf02d105aea2 Added a template for listing my talks.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
{% endblock content %}