Make email branding settings a table

So that it matches the other settings on this page
This commit is contained in:
Chris Hill-Scott
2016-08-24 09:34:14 +01:00
parent e234ed9741
commit 58b2a8a825
5 changed files with 133 additions and 72 deletions

View File

@@ -15,5 +15,8 @@ class OrganisationsClient(BaseAPIClient):
self.client_id = app.config['ADMIN_CLIENT_USER_NAME']
self.secret = app.config['ADMIN_CLIENT_SECRET']
def get_organisation(self, id):
return self.get(url='/organisation/{}'.format(id))
def get_organisations(self):
return self.get(url='/organisation')['organisations']