mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Previously, the AJAX update for the dashboard was returning a big blob of JSON with one key. This commit splits it up to return: - one key for each section of the page - each containing a smaller chunk of HTML rendered from a partial The jobs page was already working this way (pretty much) but just needed a little tweaking to get it the same.
6 lines
121 B
HTML
6 lines
121 B
HTML
{% from "components/pill.html" import pill %}
|
|
|
|
<div class="bottom-gutter">
|
|
{{ pill('Status', counts, status) }}
|
|
</div>
|