Show duration clock only if start/end time is set.

This commit is contained in:
Emanuel Schuetze 2013-03-09 14:15:03 +01:00
parent 56a510e89c
commit 48e1282cb9

View File

@ -31,7 +31,7 @@
{% if perms.agenda.can_see_orga_items %}
<td>
{% if item.duration %}
{{ item.duration }}h <a {% if item.tooltip %}rel="tooltip" data-original-title="{% trans 'End' %}: {{ item.tooltip|date:"DATETIME_FORMAT" }}"{% endif %}><i class="icon-clock"></i></a>
{{ item.duration }}h {% if start and end %}<a {% if item.tooltip %}rel="tooltip" data-original-title="{% trans 'End' %}: {{ item.tooltip|date:"DATETIME_FORMAT" }}"{% endif %}><i class="icon-clock"></i></a>{% endif %}
{% endif %}
</td>
{% endif %}