mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Restore API keys table to 2 columns
Because it get ugly when there’s 3 columns and everything is wrapping.
This commit is contained in:
@@ -26,24 +26,25 @@
|
|||||||
caption_visible=false,
|
caption_visible=false,
|
||||||
field_headings=[
|
field_headings=[
|
||||||
'API keys',
|
'API keys',
|
||||||
hidden_field_heading('Key type'),
|
|
||||||
hidden_field_heading('Action')
|
hidden_field_heading('Action')
|
||||||
],
|
],
|
||||||
) %}
|
) %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
{{ item.name }}
|
<div class="file-list">
|
||||||
{% endcall %}
|
{{ item.name }}
|
||||||
{% call field(status='default') %}
|
<span class="file-list-hint">
|
||||||
{% if item.key_type == 'normal' %}
|
{% if item.key_type == 'normal' %}
|
||||||
<span class="visually-hidden">Normal</span>
|
<span class="visually-hidden">Normal</span>
|
||||||
{% elif item.key_type == 'team' %}
|
{% elif item.key_type == 'team' %}
|
||||||
Only sends to team members
|
Only sends to team members
|
||||||
{% elif item.key_type == 'test' %}
|
{% elif item.key_type == 'test' %}
|
||||||
Simulates sending messages
|
Simulates sending messages
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% if item.expiry_date %}
|
{% if item.expiry_date %}
|
||||||
{% call field(align='right', status='default') %}
|
{% call field(align='right') %}
|
||||||
Revoked {{ item.expiry_date|format_datetime }}
|
Revoked {{ item.expiry_date|format_datetime }}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user