{% extends "withnav_template.html" %} {% from "components/table.html" import list_table, field, right_aligned_field_heading %} {% from "components/big-number.html" import big_number %} {% block page_title %} {{ session.get('service_name', 'Dashboard') }} – GOV.UK Notify {% endblock %} {% block maincolumn_content %} {% if not jobs %} {{ banner( """
  1. Add a template
  2. Send yourself a text message
""".format( url_for(".add_service_template", service_id=service_id), url_for(".choose_sms_template", service_id=service_id) )|safe, subhead='Get started', type="tip" )}} {% else %} {% call(item) list_table( jobs, caption="Recent text messages", empty_message='You haven’t sent any text messages yet', field_headings=['Job', 'Created', right_aligned_field_heading('Status')] ) %} {% call field() %} {{ item.original_file_name }} {% endcall %} {% call field() %} {{ item.created_at|format_datetime }} {% endcall %} {% call field(align='right') %} {{ item.status }} {% endcall %} {% endcall %} {% if more_jobs_to_show %} {% endif %} {% endif %} {% endblock %}