project/templates/talk/talk_detail.html
changeset 1 fda1c66b25f9
equal deleted inserted replaced
0:9a77edda77b7 1:fda1c66b25f9
       
     1 {% extends "base.html" %}
       
     2 
       
     3 {% block title %}{{ object.title }}{% endblock %}
       
     4 
       
     5 {% block content %}
       
     6 <h1>{{ object.title }}</h1>
       
     7 <p><a href="/talks/">View all talks</a></p>
       
     8 
       
     9 <style>
       
    10 dl.default dt {
       
    11     font-weight: bold;
       
    12 }
       
    13 dl.default dd {
       
    14     margin-bottom: 1em;
       
    15 }
       
    16 </style>
       
    17 
       
    18 <dl class="default">
       
    19     <dt>Title</dt>
       
    20     <dd>{{ object.title }}</dd>
       
    21     <dt>Speaker</dt>
       
    22     <dd>{{ object.speaker.get_profile.fullname }}</dd>
       
    23     <dt>Speaker's profile</dt>
       
    24     <dd>{{ object.speaker.get_profile.about }}</dd>
       
    25     <dt>Topic</dt>
       
    26     <dd>{{ object.topic }}</dd>
       
    27     <dt>Abstract</dt>
       
    28     <dd>{{ object.abstract }}</dd>
       
    29     <dt>Outline</dt>
       
    30     <dd>{{ object.outline }}</dd>
       
    31     <dt>Audience</dt>
       
    32     {% load talk_extras %}
       
    33     {% with choices|choice:object.audience as audience %}
       
    34     <dd>{{ audience|title }}</dd>
       
    35     {% endwith %}
       
    36     <dt>Tags</dt>
       
    37     <dd>{{ object.tags }}</dd>
       
    38 </dl>
       
    39 
       
    40 </ul>
       
    41 {% endblock content %}
       
    42 
       
    43