summaryrefslogtreecommitdiff
path: root/templates/program/boxes/recommendations.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2012-02-17 17:25:41 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2012-02-17 17:25:41 (GMT)
commit428cff5822194f2d934bc1892dc46d63f33c99b1 (patch)
tree0b7327107475fc9997f777ff55c28b7df6b93290 /templates/program/boxes/recommendations.html
parente9581e89fd0b9c27ff6ad766a6aec3932f3a63e8 (diff)
fixed unnecesary bug in recommendations template.
Diffstat (limited to 'templates/program/boxes/recommendations.html')
-rw-r--r--templates/program/boxes/recommendations.html15
1 files changed, 4 insertions, 11 deletions
diff --git a/templates/program/boxes/recommendations.html b/templates/program/boxes/recommendations.html
index a0dd4b2..2174654 100644
--- a/templates/program/boxes/recommendations.html
+++ b/templates/program/boxes/recommendations.html
@@ -18,24 +18,17 @@
<td class="show">
{{ item.start|date:"d.m. H:i" }} -
{{ item.end|date:"H:i" }}<br />
-
- {% if item.note %}
<h3>
<a href="{% url timeslot-detail item.id %}">{{ item.show.name }}</a>
</h3>
<p class="note-title">
+ {% if item.note %}
{{ item.note.title }}<br />
- <a href="{% url timeslot-detail item.id %}">[weiter]</a>
- </p>
- {% else %}
- <h3>
- <a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a>
- </h3>
- <p class="note-title">
+ {% else %}
{{ item.show.broadcastformat.format }}<br />
- <a href="{% url show-detail item.show.slug %}">[weiter]</a>
+ {% endif %}
+ <a href="{% url timeslot-detail item.id %}">[weiter]</a>
</p>
- {% endif %}
</td>
</tr>
{% endfor %}