~james-w/summit/fix-plus-in-meeting-name

« back to all changes in this revision

Viewing changes to summit/schedule/templates/schedule/schedule_list.html

  • Committer: Tarmac
  • Author(s): James Westby
  • Date: 2011-09-16 18:00:48 UTC
  • mfrom: (169.3.1 no-track-in-room-title)
  • Revision ID: tarmac@nigelb.me-20110916180048-mtg0uelifs4yd9mm
[r=mhall119] Remove the code to display the track in the room title if there is only one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
<ul>
25
25
    {% for room in summit.public_rooms %}
26
26
        {% if edit %}
27
 
            {% if room.track %}
28
 
                <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.track.title }} - {{ room.title }}</a> ({{ room.size }})</li>
29
 
            {% else %}
30
 
                <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.title }}</a> ({{ room.size }})</li>
31
 
            {% endif %}
 
27
            <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.title }}</a> ({{ room.size }})</li>
32
28
        {% else %}
33
 
            {% if room.track %}
34
 
                <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.track.title }} - {{ room.title }}</a></li>
35
 
            {% else %}
36
 
                <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.title }}</a></li>
37
 
            {% endif %}
 
29
            <li><a href="/{{ summit.name }}/{{ room.name }}">{{ room.title }}</a></li>
38
30
        {% endif %}
39
31
    {% endfor %}
40
32
    {% if user.is_authenticated %}