{% from "components/previous-next-navigation.html" import previous_next_navigation %}
{% extends "withnav_template.html" %}
{% from "components/button/macro.njk" import govukButton %}

{% block service_page_title %}
  Uploads
{% endblock %}

{% block maincolumn_content %}
    <h1 class="heading-large">Uploads</h1>
    <div class="dashboard">
      {% if show_scheduled_jobs %}
        {% with hide_heading = True %}
          {% include 'views/jobs/_scheduled.html' %}
        {% endwith %}
      {% endif %}
      {% if jobs %}
        {% include 'views/dashboard/_jobs.html' %}
      {% endif %}
      {% if not jobs and not show_scheduled_jobs %}
        {#
          `_jobs.html` will show the ‘You have no jobs’ message when
          passed an empty list of jobs
        #}
        {% include 'views/dashboard/_jobs.html' %}
      {% endif %}
      {{ previous_next_navigation(prev_page, next_page) }}
      {% if current_service.can_upload_letters and current_user.has_permissions('send_messages') %}
        <div class="js-stick-at-bottom-when-scrolling">
          {{ govukButton({
            "element": "a",
            "text": "Upload a letter",
            "href": url_for('.upload_letter', service_id=current_service.id),
            "classes": "govuk-button--secondary"
          }) }}
        </div>
      {% endif %}
    </div>
{% endblock %}

{% from "components/previous-next-navigation.html" import previous_next_navigation %}
{% extends "withnav_template.html" %}
{% from "components/button/macro.njk" import govukButton %}

{% block service_page_title %}
  Uploads
{% endblock %}

{% block maincolumn_content %}
    <h1 class="heading-medium">Uploads</h1>
    <div class="dashboard">
      {% if show_scheduled_jobs %}
        {% with hide_heading = True %}
          {% include 'views/jobs/_scheduled.html' %}
        {% endwith %}
      {% endif %}
      {% if jobs %}
        {% include 'views/dashboard/_jobs.html' %}
      {% endif %}
      {% if not jobs and not show_scheduled_jobs %}
        {#
          `_jobs.html` will show the ‘You have no jobs’ message when
          passed an empty list of jobs
        #}
        {% include 'views/dashboard/_jobs.html' %}
      {% endif %}
      {{ previous_next_navigation(prev_page, next_page) }}
      {% if current_service.can_upload_letters and current_user.has_permissions('send_messages') %}
        <div class="js-stick-at-bottom-when-scrolling">
          {{ govukButton({
            "element": "a",
            "text": "Upload a letter",
            "href": url_for('.upload_letter', service_id=current_service.id),
            "classes": "govuk-button--secondary"
          }) }}
        </div>
      {% endif %}
    </div>
{% endblock %}

Use smaller heading size for Uploads
Use smaller heading size for Uploads

Because it’s a top-level page without a back link it should have a
smaller heading size.
