Updates to display of jobs

This commit:
- adds the template to the jobs page (and puts it at the top of the send SMS
  page) so that it consistently appears in the same place throughout the
  journey
- put the real data about a job on the jobs page and on the dashboard
This commit is contained in:
Chris Hill-Scott
2016-02-03 14:43:16 +00:00
parent 3e7bb42323
commit 856296df5d
13 changed files with 63 additions and 50 deletions

View File

@@ -4,8 +4,9 @@
{% for category, message in messages %}
{{ banner(
message,
'default' if category == 'default' else 'dangerous',
delete_button="Yes, delete this template" if 'delete' == category else None
'default' if category == 'default' or 'default_with_tick' else 'dangerous',
delete_button="Yes, delete this template" if 'delete' == category else None,
with_tick=True if category == 'default_with_tick' else False
)}}
{% endfor %}
{% endif %}