{% load admin_urls %} {% if task_status and task_status != success %} {{ task_status }} {% else %} Total item: {{ total }}