Files
notifications-admin/app/templates/partials/jobs/count.html
Chris Hill-Scott c761d57d1d Split the JSON responses into one key per section
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.
2016-06-28 11:55:00 +01:00

6 lines
121 B
HTML

{% from "components/pill.html" import pill %}
<div class="bottom-gutter">
{{ pill('Status', counts, status) }}
</div>