{% if foreign_data.disp_row is iterable and (show_all and foreign_data.the_total > max_rows) %} {% endif %}