Skip to content
Snippets Groups Projects
Commit 428cff58 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fixed unnecesary bug in recommendations template.

parent e9581e89
No related branches found
No related tags found
No related merge requests found
...@@ -18,24 +18,17 @@ ...@@ -18,24 +18,17 @@
<td class="show"> <td class="show">
{{ item.start|date:"d.m. H:i" }} - {{ item.start|date:"d.m. H:i" }} -
{{ item.end|date:"H:i" }}<br /> {{ item.end|date:"H:i" }}<br />
{% if item.note %}
<h3> <h3>
<a href="{% url timeslot-detail item.id %}">{{ item.show.name }}</a> <a href="{% url timeslot-detail item.id %}">{{ item.show.name }}</a>
</h3> </h3>
<p class="note-title"> <p class="note-title">
{% if item.note %}
{{ item.note.title }}<br /> {{ item.note.title }}<br />
<a href="{% url timeslot-detail item.id %}">[weiter]</a> {% else %}
</p>
{% else %}
<h3>
<a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a>
</h3>
<p class="note-title">
{{ item.show.broadcastformat.format }}<br /> {{ 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> </p>
{% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
......
...@@ -23,14 +23,19 @@ ...@@ -23,14 +23,19 @@
<div class="show-detail"> <div class="show-detail">
<h4> <h4>
<a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a><br /> <a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a><br />
vom {{ item.timeslot.start|date:"d.m. H:i" }}-{{ item.timeslot.end|date:"H:i" }} vom {{ item.start|date:"d.m. H:i" }}-{{ item.end|date:"H:i" }}
</h4> </h4>
{% if item.note %}
<h3 class="show-title"> <h3 class="show-title">
<a href="{% url timeslot-detail item.timeslot.id %}">{{ item.title }}</a> <a href="{% url timeslot-detail item.id %}">{{ item.note.title }}</a>
</h3> </h3>
<div class="note-content">{{ item.content|safe}}</div> <div class="note-content">{{ item.note.content|safe}}</div>
{% else %}
</div> <h3 class="show-title">
<a href="{% url timeslot-detail item.id %}">{{ item.show.broadcastformat.format }}</a>
</h3>
{% endif %}
</div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment