limit 5 in table

This commit is contained in:
Beverly Nguyen
2024-02-12 16:34:54 -08:00
parent dd902468f2
commit 49c5f57d81

View File

@@ -55,7 +55,7 @@
</thead> </thead>
<tbody> <tbody>
{% if job_and_notifications %} {% if job_and_notifications %}
{% for job in job_and_notifications %} {% for job in job_and_notifications[:5] %}
{% if job.job_id and job.notifications %} {% if job.job_id and job.notifications %}
{% set notification = job.notifications[0] %} {% set notification = job.notifications[0] %}
<tr class="table-row" id="{{ job.job_id }}"> <tr class="table-row" id="{{ job.job_id }}">