gitlab-org--gitlab-foss/app/views/admin/applications/show.html.haml
2018-04-09 12:36:21 -05:00

36 lines
862 B
Text

- page_title @application.name, "Applications"
%h3.page-title
Application: #{@application.name}
.table-holder.oauth-application-show
%table.table
%tr
%td
Application Id
%td
%code#application_id= @application.uid
%tr
%td
Secret:
%td
%code#secret= @application.secret
%tr
%td
Callback url
%td
- @application.redirect_uri.split.each do |uri|
%div
%span.monospace= uri
%tr
%td
Trusted
%td
= @application.trusted? ? 'Y' : 'N'
= render "shared/tokens/scopes_list", token: @application
.form-actions
= link_to 'Edit', edit_admin_application_path(@application), class: 'btn btn-primary wide float-left'
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'