mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 03:08:25 -04:00
Also add more tests for showing or not the cancel those letters link Also check if all notifications already in database Upgrade delete button text logic to handle more cases Also corrections following review
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/banner.html" import banner %}
|
|
{% from "components/ajax-block.html" import ajax_block %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block service_page_title %}
|
|
{{ uploaded_file_name }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-large">
|
|
{{ uploaded_file_name }}
|
|
</h1>
|
|
|
|
{% if just_sent %}
|
|
{{ banner(just_sent_message, type='default', with_tick=True) }}
|
|
{% else %}
|
|
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
|
{% endif %}
|
|
{{ ajax_block(partials, updates_url, 'counts', finished=finished) }}
|
|
{{ ajax_block(partials, updates_url, 'notifications', finished=finished) }}
|
|
|
|
{% if can_cancel_letter_job %}
|
|
<div class="js-stick-at-bottom-when-scrolling">
|
|
<div class="page-footer">
|
|
<span class="page-footer-delete-link page-footer-delete-link-without-button">
|
|
<a href="{{ url_for('main.cancel_letter_job', service_id=current_service.id, job_id=job_id) }}">Cancel sending these letters</a>
|
|
</span>
|
|
{% else %}
|
|
<div> </div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|