mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 05:43:11 -04:00
We should add spacing to the right, so if the first button is missing the second one still sits flush-left.
50 lines
1.9 KiB
HTML
50 lines
1.9 KiB
HTML
{% 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 jobs %}
|
|
{% include 'views/dashboard/_jobs.html' %}
|
|
{% else %}
|
|
<p class="govuk-body">
|
|
You have not uploaded any files recently.
|
|
</p>
|
|
{% if current_user.has_permissions('send_messages') %}
|
|
{% if current_service.has_permission('letter') %}
|
|
<p class="govuk-body">
|
|
Upload a letter and Notify will print, pack and post it for you.
|
|
</p>
|
|
{% endif %}
|
|
<p class="govuk-body">
|
|
To upload a list of contact details, first <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.choose_template', service_id=current_service.id) }}">choose a template</a>.
|
|
</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
{{ previous_next_navigation(prev_page, next_page) }}
|
|
{% if current_user.has_permissions('send_messages') %}
|
|
<div class="js-stick-at-bottom-when-scrolling">
|
|
{% if current_service.has_permission('letter') %}
|
|
{{ govukButton({
|
|
"element": "a",
|
|
"text": "Upload a letter",
|
|
"href": url_for('.upload_letter', service_id=current_service.id),
|
|
"classes": "govuk-button--secondary govuk-!-margin-right-3"
|
|
}) }}
|
|
{% endif %}
|
|
{{ govukButton({
|
|
"element": "a",
|
|
"text": "Upload an emergency contact list",
|
|
"href": url_for('.upload_contact_list', service_id=current_service.id),
|
|
"classes": "govuk-button--secondary"
|
|
}) }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|