debian-mirror-gitlab/app/views/shared/tokens/_scopes_list.html.haml
2020-06-23 00:09:42 +05:30

14 lines
276 B
Plaintext

- token = local_assigns.fetch(:token)
- return unless token.scopes.present?
%tr
%td
= _('Scopes')
%td
%ul.scopes-list.gl-mb-0
- token.scopes.each do |scope|
%li
%span.bold= scope
= "(#{t(scope, scope: [:doorkeeper, :scopes])})"