summaryrefslogtreecommitdiff
path: root/app/views/admin/applications/index.html.haml
blob: c3861f335b8d2742d7e47145367176c1c1e5e021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- page_title "Applications"
%h3.page-title
  System OAuth applications
%p.light
  System OAuth applications don't belong to any user and can only be managed by admins
%hr
%p= link_to 'New application', new_admin_application_path, class: 'btn btn-success'
%table.table
  %thead
    %tr
      %th Name
      %th Callback URL
      %th Clients
      %th Trusted
      %th Confidential
      %th
      %th
  %tbody.oauth-applications
    - @applications.each do |application|
      %tr{ :id => "application_#{application.id}" }
        %td= link_to application.name, admin_application_path(application)
        %td= application.redirect_uri
        %td= @application_counts[application.id].to_i
        %td= application.trusted? ? 'Y': 'N'
        %td= application.confidential? ? 'Y': 'N'
        %td= link_to 'Edit', edit_admin_application_path(application), class: 'btn btn-link'
        %td= render 'delete_form', application: application
= paginate @applications, theme: 'gitlab'