mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
added a conditional to limit only 5 rows to display
This commit is contained in:
@@ -57,6 +57,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for item in recipients.displayed_rows %}
|
{% for item in recipients.displayed_rows %}
|
||||||
|
{% if loop.index <= 5 %}
|
||||||
<tr class="table-row">
|
<tr class="table-row">
|
||||||
{% for column in recipients.column_headers %}
|
{% for column in recipients.column_headers %}
|
||||||
<td class="table-field-left-aligned">
|
<td class="table-field-left-aligned">
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user