diff --git a/tubesync/sync/templates/sync/media-item.html b/tubesync/sync/templates/sync/media-item.html
index 8bc2129b..b5c2b55a 100644
--- a/tubesync/sync/templates/sync/media-item.html
+++ b/tubesync/sync/templates/sync/media-item.html
@@ -52,12 +52,12 @@
- {% if task.locked_by_pid_running %}
+ {% if task.start_at == task.end_at %}
{{ task }}
- Task started at {{ task.run_at|date:'Y-m-d H:i:s' }}
+ Task started at {{ task.start_at|date:'Y-m-d H:i:s' }}
{% else %}
{{ task }}
- Task will run {% if task.run_now %}immediately{% else %}at {{ task.run_at|date:'Y-m-d H:i:s' }}{% endif %}
+ Task will run {% if task.run_now %}immediately{% else %}at {{ task.scheduled_at|date:'Y-m-d H:i:s' }}{% endif %}
{% endif %}