show only the first 5 rows

This commit is contained in:
Beverly Nguyen
2024-01-26 11:47:46 -08:00
parent f7924320df
commit 1f12dd3908
+2 -1
View File
@@ -55,7 +55,8 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for notification in notifications %} {{ notifications}}
{% for notification in notifications[:5] %}
{% if notification %} {% if notification %}
<tr class="table-row" id="{{ notification.job.id }}"> <tr class="table-row" id="{{ notification.job.id }}">
<th class="table-field"> <th class="table-field">