Skip to content

Commit ce03487

Browse files
committed
Handle empty tables better
1 parent 0c61e53 commit ce03487

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

astra_app/core/templates/core/sponsorship_list.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ <h1>Sponsors</h1>
6363
{% endif %}
6464
</td>
6565
</tr>
66-
{% empty %}
67-
<tr>
68-
<td colspan="4" class="text-center">No active sponsors found.</td>
69-
</tr>
7066
{% endfor %}
7167
</tbody>
7268
</table>
@@ -89,6 +85,7 @@ <h1>Sponsors</h1>
8985
buttons: ['copy', 'csv', 'excel', 'pdf', 'print', 'colvis'],
9086
order: [[3, 'asc']],
9187
pageLength: 25,
88+
language: { emptyTable: 'No active sponsors found.' },
9289
});
9390
});
9491
</script>

0 commit comments

Comments
 (0)