mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Remove choose_postage feature flag so everyone can choose postage
This commit is contained in:
@@ -829,7 +829,7 @@ def set_template_sender(service_id, template_id):
|
||||
@user_has_permissions('manage_templates')
|
||||
def edit_template_postage(service_id, template_id):
|
||||
template = service_api_client.get_service_template(service_id, template_id)['data']
|
||||
if template["template_type"] != "letter" or not current_service.has_permission("choose_postage"):
|
||||
if template["template_type"] != "letter":
|
||||
abort(404)
|
||||
form = LetterTemplatePostageForm(**template)
|
||||
if form.validate_on_submit():
|
||||
|
||||
@@ -50,9 +50,7 @@
|
||||
</div>
|
||||
<div class="column-whole template-container">
|
||||
{% if current_user.has_permissions('manage_templates') and template.template_type == 'letter' %}
|
||||
{% if current_service.has_permission("choose_postage") %}
|
||||
<a href="{{ url_for(".edit_template_postage", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-postage">Edit</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for(".edit_template_postage", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-postage">Edit</a>
|
||||
<a href="{{ url_for(".edit_service_template", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-body">Edit</a>
|
||||
<a href="{{ url_for(".set_template_sender", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-contact">Edit</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user