Commit b1be75f1 authored by fred's avatar fred

only display schedule duration if it's set

parent 3701477a
......@@ -57,7 +57,7 @@
<ul>
{% for schedule in schedules %}
<li>{{ schedule.datetime|date:"l G:i" }} {% if schedule.weeks_string %}({{ schedule.weeks_string }}){% endif %}
{% if schedule.duration != emission.duration %} ({{ schedule.duration }} minutes) {% endif %}
{% if schedule.duration and schedule.duration != emission.duration %} ({{ schedule.duration }} minutes) {% endif %}
{% if schedule.rerun %} (rediff) {% endif %}
{% if perms.emissions.delete_schedule %}
<a href="schedule/{{ schedule.id }}/remove" class="icon-remove-sign" title="Retirer"></a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment