Adding views to view, add and edit service data retention policies.

Only visible to a platform admin.
A service can have a custom number of days to retain the notification data for each notification type.
This commit is contained in:
Rebecca Law
2018-07-17 14:39:04 +01:00
parent 13d05c5461
commit 4b8b571a87
12 changed files with 193 additions and 35 deletions

View File

@@ -322,8 +322,10 @@
{% endcall %}
{% call row() %}
{{ text_field('Data Retention')}}
{{ text_field(data_retention[0]['notification_type']) }}
{{ edit_field('Change', url_for('.set_data_retention', service_id=current_service.id)) }}
{% call field() %}
{{ data_retention | join(', ', attribute='notification_type') }}
{% endcall %}
{{ edit_field('Change', url_for('.data_retention', service_id=current_service.id)) }}
{% endcall %}
{% endcall %}