diff --git a/app/templates/views/check/preview.html b/app/templates/views/check/preview.html index ea7978ebe..ebf2ec8c2 100644 --- a/app/templates/views/check/preview.html +++ b/app/templates/views/check/preview.html @@ -57,35 +57,37 @@ {% for item in recipients.displayed_rows %} - - {% for column in recipients.column_headers %} - -
- {% set column_data = item[column].data or '' %} - {% if column_data is iterable and column_data is not string %} - - {% else %} - {{ column_data }} - {% endif %} -
- - {% endfor %} - {% if item[None].data %} - {% for column in item[None].data %} - -
- {{ column }} -
- - {% endfor %} + {% if loop.index <= 5 %} + + {% for column in recipients.column_headers %} + +
+ {% set column_data = item[column].data or '' %} + {% if column_data is iterable and column_data is not string %} + + {% else %} + {{ column_data }} + {% endif %} +
+ + {% endfor %} + {% if item[None].data %} + {% for column in item[None].data %} + +
+ {{ column }} +
+ + {% endfor %} + {% endif %} + {% endif %} - {% endfor %}