Review comments fixed. All tests passing.

This commit is contained in:
Nicholas Staples
2016-03-03 09:02:56 +00:00
parent dde2fba705
commit 1b59e5c7f1
7 changed files with 76 additions and 31 deletions

View File

@@ -44,7 +44,7 @@ manage_templates_page_headings = {
def get_page_headings(template_type):
if current_user.has_permissions(session.get('service_id', ''), 'manage_service'):
if current_user.has_permissions(['manage_service']):
return manage_service_page_headings[template_type]
else:
return manage_templates_page_headings[template_type]