debian-mirror-gitlab/app/views/admin/applications/index.html.haml

29 lines
981 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Applications"
2015-04-26 12:48:37 +05:30
%h3.page-title
System OAuth applications
%p.light
2015-10-24 18:46:33 +05:30
System OAuth applications don't belong to any user and can only be managed by admins
2015-04-26 12:48:37 +05:30
%hr
2017-08-17 22:00:37 +05:30
%p= link_to 'New application', new_admin_application_path, class: 'btn btn-success'
2018-11-20 20:47:30 +05:30
%table.table
2015-04-26 12:48:37 +05:30
%thead
%tr
%th Name
%th Callback URL
%th Clients
2017-09-10 17:25:29 +05:30
%th Trusted
2020-03-13 15:44:24 +05:30
%th Confidential
2015-04-26 12:48:37 +05:30
%th
%th
%tbody.oauth-applications
- @applications.each do |application|
2017-08-17 22:00:37 +05:30
%tr{ :id => "application_#{application.id}" }
2015-04-26 12:48:37 +05:30
%td= link_to application.name, admin_application_path(application)
%td= application.redirect_uri
2019-12-04 20:38:33 +05:30
%td= @application_counts[application.id].to_i
2017-09-10 17:25:29 +05:30
%td= application.trusted? ? 'Y': 'N'
2020-03-13 15:44:24 +05:30
%td= application.confidential? ? 'Y': 'N'
2015-04-26 12:48:37 +05:30
%td= link_to 'Edit', edit_admin_application_path(application), class: 'btn btn-link'
%td= render 'delete_form', application: application
2019-12-04 20:38:33 +05:30
= paginate @applications, theme: 'gitlab'