Show org type and free allowance on settings page

As a platform admin it’s useful to be able to see what each service has
set for these attributes.
This commit is contained in:
Chris Hill-Scott
2017-10-05 11:08:22 +01:00
parent c516760056
commit ff6b2b01dd
3 changed files with 19 additions and 0 deletions

View File

@@ -191,6 +191,19 @@
field_headings_visible=False,
caption_visible=False
) %}
{% call row() %}
{{ text_field('Organisation type')}}
{{ text_field(
current_service.organisation_type|title or 'Not set',
status='' if current_service.organisation_type else 'default'
) }}
{{ text_field() }}
{% endcall %}
{% call row() %}
{{ text_field('Free text message allowance')}}
{{ text_field('{:,}'.format(current_service.free_sms_fragment_limit)) }}
{{ text_field() }}
{% endcall %}
{% call row() %}
{{ text_field('Email branding' )}}
{% call field() %}