Skip to content

Commit

Permalink
Add expiration time to index table
Browse files Browse the repository at this point in the history
  • Loading branch information
jlledom committed Dec 5, 2024
1 parent 39b8c24 commit 88badaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/provider/admin/user/access_tokens/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
tr role="row"
th role="columnheader" scope="col" Name
th role="columnheader" scope="col" Scopes
th role="columnheader" scope="col" Expiration
th role="columnheader" scope="col" Permission
th role="columnheader" scope="col" class="pf-c-table__action pf-m-fit-content"
= fancy_link_to 'Add Access Token', new_provider_admin_user_access_token_path, class: 'new' if allowed_scopes.any?
Expand All @@ -74,6 +75,7 @@
tr role="row"
td role="cell" data-label="Name" = token.name
td role="cell" data-label="Scopes" = token.human_scopes.to_sentence
td role="cell" data-label="Expiration" = token.expires_at.present? ? l(token.expires_at) : t('access_token_options.no_expiration')
td role="cell" data-label="Permission" = token.human_permission
td role="cell" class="pf-c-table__action"
div class="pf-c-overflow-menu"
Expand Down

0 comments on commit 88badaf

Please sign in to comment.