Remove letter jobs page

When we first built letters you could only send them via a CSV upload, initially we needed a way to send those files to dvla per job.
We since stopped using this page. So let's delete it!
This commit is contained in:
Rebecca Law
2018-11-15 17:17:45 +00:00
parent f47215ddc7
commit f788aab998
7 changed files with 0 additions and 220 deletions

View File

@@ -1,52 +0,0 @@
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% block per_page_title %}
Letter jobs
{% endblock %}
{% block platform_admin_content %}
<h1 class="heading-large">Letter jobs</h1>
{% call form_wrapper() %}
<p>
<table>
<thead>
<tr>
<th>Service name</th>
<th>Job ID</th>
<th>Count</th>
<th>Status</th>
<th colspan="3">Created at</th>
</tr>
</thead>
<tbody>
{% for job in letter_jobs_list %}
<tr>
<td>{{ job.service_name.name }}</td>
<td>{{ job.id }}</td>
<td>{{ job.notification_count }}</td>
<td>{{ job.job_status }}</td>
<td>{{ job.created_at|format_datetime_short }}</td>
<td><input name="job_id" value='{{ job.id }}' type="checkbox"{% if not (job.job_status == 'ready to send' or job.job_status == 'sent to dvla') %} disabled{% endif %}></td>
<td>{{ job.sending }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</p>
{{ page_footer('Send') }}
{% if message %}
<p id='message'>
{{ message }}
{% if message != 'No jobs selected' %}
<div>Refresh page to see status updates</div>
{% endif %}
</p>
{% endif %}
{% endcall %}
{% endblock %}

View File

@@ -18,7 +18,6 @@
('Organisations', url_for('main.organisations')),
('Providers', url_for('main.view_providers')),
('Email branding', url_for('main.email_branding')),
('Letter jobs', url_for('main.letter_jobs')),
('Inbound SMS numbers', url_for('main.inbound_sms_admin')),
('Find users by email', url_for('main.find_users_by_email')),
('Email Complaints', url_for('main.platform_admin_list_complaints')),