mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix order of callbacks
Delivery comes before inbound. The order of the URLs was jumbled in two places: - in the view function - in the Jinja template So as the user saw it the URLs were in the right order, because the double jumbling cancelled itself out. But it made the code _really_ confusing to read.
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
) %}
|
||||
{% call row() %}
|
||||
{{ text_field('Callbacks for delivery receipts') }}
|
||||
{{ optional_text_field(received_text_messages_callback) }}
|
||||
{{ optional_text_field(delivery_status_callback) }}
|
||||
{{ edit_field('Change', url_for('.delivery_status_callback', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Callbacks for received text messages') }}
|
||||
{{ optional_text_field(delivery_status_callback) }}
|
||||
{{ optional_text_field(received_text_messages_callback) }}
|
||||
{{ edit_field('Change', url_for('.received_text_messages_callback', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user