<div class="ajax-block-container">
  <p class='bottom-gutter'>
    {% if job.scheduled_for %}
      {% if job.processing_started %}
        Sent by {{ job.created_by.name }} on {{ job.processing_started|format_datetime_short }}
      {% else %}
        Uploaded by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
      {% endif %}
   {% else %}
      Sent by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
    {% endif %}
  </p>
  {% if job.status == 'sending limits exceeded'%}
    <p class="usa-error-message">
        Notify cannot send these messages because you have reached a limit. You can only send {{ current_service.message_limit|format_thousands }} messages per day and {{ 250000|format_thousands }} messages in total.
    </p>
    <p class="usa-error-message">
        Upload this spreadsheet again tomorrow or <a class="usa-link" href="https://www.notifications.service.gov.uk/support">contact the Notify.gov team</a> to raise the limit.
    </p>
    {% endif %}
</div>
