Commit 308c4bac authored by Max Woolf's avatar Max Woolf

UX reviewer changes

parent 2c171971
.table-holder
.thead-white.gl-white-space-nowrap.gl-responsive-table-row.table-row-header{ role: 'row' }
.table-section.section-10{ role: 'rowheader' }= _('Name')
.table-section.section-10{ role: 'rowheader' }= _('Scopes')
.table-section.section-15{ role: 'rowheader' }= _('Scopes')
.table-section.section-15{ role: 'rowheader' }= _('Project')
.table-section.section-20{ role: 'rowheader' }= _('Creator')
.table-section.section-15{ role: 'rowheader' }= _('Created on')
.table-section.section-10{ role: 'rowheader' }= _('Created on')
.table-section.section-10{ role: 'rowheader' }= _('Last used')
.table-section.section-10{ role: 'rowheader' }= _('Expires')
.table-section.section-10{ role: 'rowheader' }= _('Revoke')
= render partial: 'shared/credentials_inventory/project_access_tokens/project_access_token', collection: credentials
......@@ -6,7 +6,7 @@
= _('Name')
.table-mobile-content.gl-white-space-normal.gl-word-break-word.gl-pr-5
= project_access_token.name
.table-section.section-10
.table-section.section-15
.table-mobile-header{ role: 'rowheader' }
= _('Scopes')
.table-mobile-content.gl-white-space-normal
......@@ -21,7 +21,7 @@
= _('Creator')
.table-mobile-content
= render 'shared/credentials_inventory/users/user_detail', user: project_access_token.user.created_by
.table-section.section-15
.table-section.section-10
.table-mobile-header{ role: 'rowheader' }
= _('Created on')
.table-mobile-content
......@@ -38,6 +38,5 @@
= project_access_token.expires_at&.to_date || _('Never')
.table-section.section-10
.table-mobile-header{ role: 'rowheader' }
= _('Revoke')
.table-mobile-content
= link_to _('Revoke'), admin_credential_project_revoke_path(credential_id: project_access_token, project_id: project.id), method: :put, data: { confirm: _('Are you sure you want to revoke this project access token? This action cannot be undone.') }, class: 'btn btn-danger btn-danger-secondary btn-md btn-secondary gl-button'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment