summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-04-14 14:54:42 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-04-14 14:54:42 (GMT)
commitaa9fda01e894ccef8fcb2e0967aa175362607387 (patch)
tree1db5c931d90d7e7e7a07c00f439101bbc3c93fa5 /templates
parent2bdc4804d10dc779a6cb296d59e18401e66a33af (diff)
show detail
Diffstat (limited to 'templates')
-rw-r--r--templates/program/show_detail.html77
-rw-r--r--templates/program/timeslot_detail.html76
2 files changed, 74 insertions, 79 deletions
diff --git a/templates/program/show_detail.html b/templates/program/show_detail.html
index 7614496..60a109b 100644
--- a/templates/program/show_detail.html
+++ b/templates/program/show_detail.html
@@ -8,55 +8,50 @@
<div id="content-main" class="show-detail">
- <h1 id="name">{{ show.name }}</h1>
+ <div class="show-detail-header bf-{{show.broadcastformat.slug}}">
+ <h1 id="name">{{ show.name }}</h1>
+ <p id="programslots">
+ {% for slot in show.programslots.all %}
+ <span class="programslot">{{ slot }}</span><br />
+ {% endfor %}
+ </p>
+
+ <div class="show-abbrevs">
+ {% for item in show.showinformation.all %}
+ <span title="{{item.information}}" class="abbrev si-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ {% for item in show.showtopic.all %}
+ <span title="{{item.topic}}" class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ {% for item in show.musicfocus.all %}
+ <span title="{{item.focus}}" class="abbrev mf-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ </div>
+
+ <p id="broadcastformat">{{ show.broadcastformat.format }}</p>
+ </div>
{% if show.short_description != 'FIXME' %}
<div id="short-description" class="documentDescription">{{ show.short_description }}</div>
{% endif %}
- <div id="abbrevs">
- {% for topic in show.showtopic.all %}
- <span class="topic-abbrev">{{ topic.abbrev }}</span>
- {% endfor %}
-
- {% for information in show.showinformation.all %}
- <span class="information-abbrev">{{ information.abbrev }}</span>
- {% endfor %}
-
- {% for focus in show.musicfocus.all %}
- <span class="focus-abbrev">{{ focus.abbrev }}</span>
- {% endfor %}
-
- <span class="broadcastformat-abbrev">{{ show.broadcastformat.abbrev }}</span>
- </div>
-
- <div id="programslots">
- {% for slot in show.programslots.all %}
- <div class="programslot">{{ slot }}</div>
- {% endfor %}
- </div>
-
- <div id="broadcastformat">{{ show.broadcastformat.format }}</div>
-
- <div id="hosts">
- {% for host in show.hosts.all %}
- <div class="host"><a href="{% url host-detail host.id %}">{{ host }}</a></div>
- {% endfor %}
- </div>
-
<div id="description">{{ show.description|safe }}</div>
- {% if show.email %}
- <div id="email"><a href="mailto:{{ show.email }}">{{ show.email }}</a></div>
- {% endif %}
+ <p>
+ {% for host in show.hosts.all %}
+ <a href="{% url host-detail host.id %}">{{ host }}</a><br />
+ {% endfor %}
+ {% if show.email %}
+ <strong>Email:</strong> <a href="mailto:{{ show.email }}">{{ show.email }}</a><br />
+ {% endif %}
+ {% if show.website %}
+ <strong>Website:</strong> <a href="{{ show.website }}">{{ show.website }}</a><br />
+ {% endif %}
+ {% if show.cba_series_id %}
+ <strong>CBA-Link:</strong> <a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a><br />
+ {% endif %}
+ </p>
- {% if show.website %}
- <div id="website"><a href="{{ show.website }}">{{ show.website }}</a></div>
- {% endif %}
-
- {% if show.cba_series_id %}
- <div id="cba-series-id"><a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a></div>
- {% endif %}
</div>
</body>
diff --git a/templates/program/timeslot_detail.html b/templates/program/timeslot_detail.html
index 04d56c2..55819c8 100644
--- a/templates/program/timeslot_detail.html
+++ b/templates/program/timeslot_detail.html
@@ -6,52 +6,52 @@
<body>
<div id="content-main" class="timeslot-detail">
- <h1 id="show-name">{{ timeslot.show.name }}</h1>
+
+ <div class="show-detail-header bf-{{timeslot.show.broadcastformat.slug}}">
+ <h1 id="name">{{ timeslot.show.name }}</h1>
+
+ <div class="show-abbrevs">
+ {% for item in timeslot.show.showinformation.all %}
+ <span title="{{item.information}}" class="abbrev si-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ {% for item in timeslot.show.showtopic.all %}
+ <span title="{{item.topic}}" class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ {% for item in timeslot.show.musicfocus.all %}
+ <span title="{{item.focus}}" class="abbrev mf-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span>
+ {% endfor %}
+ </div>
+
+ <p id="broadcastformat">{{ timeslot.show.broadcastformat.format }}</p>
+ </div>
+
+ {% if timeslot.note %}
+ <h2>{{ timeslot.note.title }}</h2>
+ <p class="timeslot-note">{{ timeslot.note.content|safe }}</p>
+ {% endif %}
{% if timeslot.show.short_description != 'FIXME' %}
<div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div>
{% endif %}
- <div id="abbrevs">
- {% for topic in timeslot.show.showtopic.all %}
- <span class="topic-abbrev">{{ topic.abbrev }}</span>
- {% endfor %}
-
- {% for information in timeslot.show.showinformation.all %}
- <span class="information-abbrev">{{ information.abbrev }}</span>
- {% endfor %}
-
- {% for focus in timeslot.show.musicfocus.all %}
- <span class="focus-abbrev">{{ focus.abbrev }}</span>
- {% endfor %}
-
- <span class="broadcastformat-abbrev">{{ timeslot.show.broadcastformat.abbrev }}</span>
- </div>
-
- <div id="programslots">
- {% for slot in timeslot.show.programslots.all %}
- <div class="programslot">{{ slot }}</div>
- {% endfor %}
- </div>
+ <div id="description">{{ timeslot.show.description|safe }}</div>
- <div id="broadcastformat">{{ timeslot.show.broadcastformat.format }}</div>
+ <p>
+ {% for host in timeslot.show.hosts.all %}
+ <a href="{% url host-detail host.id %}">{{ host }}</a><br />
+ {% endfor %}
+ {% if timeslot.show.email %}
+ <strong>Email:</strong> <a href="mailto:{{ timeslot.show.email }}">{{ timeslot.show.email }}</a><br />
+ {% endif %}
+ {% if timeslot.show.website %}
+ <strong>Website:</strong> <a href="{{ timeslot.show.website }}">{{ timeslot.show.website }}</a><br />
+ {% endif %}
+ {% if timeslot.show.cba_series_id %}
+ <strong>CBA-Link:</strong> <a href="http://cba.fro.at/series/{{ timeslot.show.cba_series_id }}">CBA</a><br />
+ {% endif %}
+ </p>
- <div id="hosts">
- {% for host in timeslot.show.hosts.all %}
- <div class="host"><a href="{% url host-detail host.id %}">{{ host }}</a></div>
- {% endfor %}
- </div>
- <div id="description">{{ timeslot.show.description|safe }}</div>
-
- <div id="note">
- {% if timeslot.note %}
- <div class="note">
- <div class="title">{{ timeslot.note.title }}</div>
- <div class="content">{{ timeslot.note.content|safe }}</div>
- </div>
- {% endif %}
- </div>
</div>
</body>