{% extends "base.html" %} {% block style %} {% set column_count = 7 %} {% endblock %} {% macro row(item, badge) %} {% set country = get_country(item.country) %} {% set nights = (item.to.date() - item.from.date()).days %}