Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_scopes_list.html.haml « tokens « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 558cf67f20179f7df960ee336b36ea16fc673a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- 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])})"