Commit 4fd566f3 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '344189-access-tokens-table-gl-modal' into 'master'

Set "Revoke token" modal's button variant to danger

See merge request gitlab-org/gitlab!79613
parents 47bef93d 6f3217af
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
%span.token-never-expires-label= _('Never') %span.token-never-expires-label= _('Never')
- if resource - if resource
%td= resource.member(token.user).human_access %td= resource.member(token.user).human_access
%td= link_to _('Revoke'), revoke_route_helper.call(token), method: :put, class: "gl-button btn btn-danger btn-sm float-right qa-revoke-button #{'btn-danger-secondary' unless token.expires?}", data: { confirm: _('Are you sure you want to revoke this %{type}? This action cannot be undone.') % { type: type } } %td= link_to _('Revoke'), revoke_route_helper.call(token), method: :put, class: "gl-button btn btn-danger btn-sm float-right qa-revoke-button #{'btn-danger-secondary' unless token.expires?}", aria: { label: _('Revoke') }, data: { confirm: _('Are you sure you want to revoke this %{type}? This action cannot be undone.') % { type: type }, 'confirm-btn-variant': 'danger' }
- else - else
.settings-message.text-center .settings-message.text-center
= no_active_tokens_message = no_active_tokens_message
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