{% load static %} {% load tz %} {#{% include "widgets/w_file.html" %}#} {% if not messages and ticket %} {% include "widgets/w_message.html" %} {% else %} {% for msg in messages %} {% include "widgets/w_message.html" %} {% if forloop.first %} {% timezone user_tz %} {% endtimezone %} {% endif %} {% endfor %} {% endif %}