{% if data : %} {% for row in data %} {{loop.index}} {% if row.reminder_date %} {{row.reminder_date.strftime("%d-%m-%Y")or '-'}} {% endif %} {{row.subject or '-'}} {% if row.mail_to_be_sent %} {{row.mail_to_be_sent.strftime("%d-%m-%Y %H:%m")or '-'}} {% endif %} {{row.notification_msg or '-'}} {% set email_1 = row.emails %} {% if email_1 :%} {{email_1.replace("," , "
") | safe}} {%else :%} - {% endif %} {% endfor %} {% else : %} Record not available {% endif %}