Merge pull request #959 from alphagov/comma-format-message-limit

Comma-format number when emailing live services
This commit is contained in:
minglis
2017-05-18 11:06:24 +01:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ def update_service(service_id):
template_id=current_app.config['SERVICE_NOW_LIVE_TEMPLATE_ID'],
personalisation={
'service_name': current_data['name'],
'message_limit': current_data['message_limit']
'message_limit': '{:,}'.format(current_data['message_limit'])
},
include_user_fields=['name']
)