[% SWITCH key %] [% CASE [ # Booleans 'always_use_reply_to', 'category_groups', 'claims', 'heatmap', 'heatmap_dashboard_body', 'noise', 'os_maps_premium', 'sms_authentication', 'suggest_duplicates', 'update_states_disallowed', 'waste', ] %] [% IF value %]Yes[% ELSE %]No[% END %] [% CASE [ # Strings 'anonymous_account', 'base_url', 'contact_email', 'contact_name', 'contact_us_url', 'content_security_policy', 'do_not_reply_email', 'open311_token', 'os_maps_licence', 'os_maps_url', 'updates_allowed', 'verp_email_domain', ] %] [% value %] [% CASE [ # List 'example_places', 'internal_ips', 'public_asset_ids', 'roadworks_categories', ] %] [% value.join(', ') %] [%# Simple display %] [% CASE 'address_api' %] URL: [% value.url %] [% CASE 'area_code_mapping' %] Mapping [% CASE 'asset_layers' %] [% value.size - 1 %] layers (View config) [% CASE 'bartec' %] Blocked UPRNs: [% value.blocked_uprns.join(', ') %] [% CASE 'bottomline' %] Endpoint: [% value.endpoint %] [% CASE 'echo' %] Username: [% value.username %] [% CASE 'govuk_notify' %] Template ID: [% value.template_id %] [% CASE 'oidc_login' %] Display name: [% value.display_name %] [% CASE 'throttle_username' %] [% value.attempts %] per [% value.time %]s [% CASE 'borough_email_addresses' %] [% CASE 'extra_state_mapping' %] [% CASE 'open311_email' %]  
[% FOR ee IN value %]
[% ee.key %]
[% ee.value %]
[% END %]
[% CASE 'safety_critical_categories' %] [% CASE 'send_questionnaire' %] [% CASE 'staff_url' %] [% CASE 'payment_gateway' %] [% SET any = 0 %][% FOR k IN value %] [% IF k.key.match('^ggw_|^pro_rata') %][% any = 1 %][% k.key %]: [% k.value %]
[% END %] [% END %] [% IF NOT any %]-[% END %] [% CASE 'waste_features' %] [% SET any = 0 %][% FOR k IN value %] [% any = 1 %][% k.key %]: [% k.value %]
[% END %] [% IF NOT any %]-[% END %] [% CASE %] [% value %] [% END %]