Put API keys on service model

Similar to how we put templates on the service model, it means less
logic needs to happen in the view code.
This commit is contained in:
Chris Hill-Scott
2018-11-07 11:35:24 +00:00
parent 302078ac28
commit d1c9dcfb1d
4 changed files with 14 additions and 10 deletions

View File

@@ -37,7 +37,7 @@
<div class="body-copy-table">
{% call(item, row_number) list_table(
keys,
current_service.api_keys,
empty_message="You havent created any API keys yet",
caption="API keys",
caption_visible=false,