mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 00:53:13 -04:00
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:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user