diff --git a/app/templates/views/api-keys.html b/app/templates/views/api-keys.html index e231928c6..47bbaa1b6 100644 --- a/app/templates/views/api-keys.html +++ b/app/templates/views/api-keys.html @@ -24,11 +24,24 @@ empty_message="You haven’t created any API keys yet", caption="API keys", caption_visible=false, - field_headings=['API keys', hidden_field_heading('Action')], + field_headings=[ + 'API keys', + hidden_field_heading('Key type'), + hidden_field_heading('Action') + ], ) %} {% call field() %} {{ item.name }} {% endcall %} + {% call field(status='default') %} + {% if item.key_type == 'normal' %} + Normal + {% elif item.key_type == 'team' %} + Only sends to team members + {% elif item.key_type == 'test' %} + Simulates sending messages + {% endif %} + {% endcall %} {% if item.expiry_date %} {% call field(align='right', status='default') %} Revoked {{ item.expiry_date|format_datetime }}