mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Remove service postage setting and choose_postage switch
This commit is contained in:
@@ -240,21 +240,6 @@
|
||||
)}}
|
||||
{% endcall %}
|
||||
|
||||
{% if current_service.has_permission('letter') and not current_service.has_permission('choose_postage') %}
|
||||
{% call settings_row() %}
|
||||
{{ text_field('Postage') }}
|
||||
{% set postage = {'first': 'First class only', 'second': 'Second class only'} %}
|
||||
{{ text_field(postage[current_service.postage]) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.service_set_postage',
|
||||
service_id=current_service.id),
|
||||
permissions=['manage_service']
|
||||
)
|
||||
}}
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
|
||||
{% endcall %}
|
||||
</div>
|
||||
|
||||
@@ -373,11 +358,6 @@
|
||||
{{ 'Stop uploading documents' if 'upload_document' in current_service.permissions else 'Allow to upload documents' }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="bottom-gutter">
|
||||
<a href="{{ url_for('.service_switch_can_choose_postage', service_id=current_service.id) }}" class="button">
|
||||
{{ 'Stop choosing postage per template' if 'choose_postage' in current_service.permissions else 'Allow to choose postage per template' }}
|
||||
</a>
|
||||
</li>
|
||||
{% if current_service.active %}
|
||||
<li class="bottom-gutter">
|
||||
<a href="{{ url_for('.archive_service', service_id=current_service.id) }}" class="button">
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Postage
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-five-sixths">
|
||||
<h1 class="heading-large">Postage</h1>
|
||||
<p>You can send letters by first or second class post.</p>
|
||||
<p>
|
||||
See a list of <a href="{{ url_for('.pricing', _anchor='letters') }}">postage prices</a>.
|
||||
</p>
|
||||
<h2 class="heading-medium">Delivery times</h2>
|
||||
<p>
|
||||
Letters sent before 5:30pm are dispatched the next working day (Monday to Friday).
|
||||
</p>
|
||||
<p>
|
||||
First class letters are delivered one day after they’re dispatched. Second class letters are delivered 2 days after they’re dispatched.
|
||||
</p>
|
||||
<p>
|
||||
Royal Mail delivers from Monday to Saturday, excluding bank holidays.
|
||||
</p>
|
||||
<form method="post">
|
||||
{{ radios(form.postage) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user