2015-04-30 13:06:18 -04:00
|
|
|
- page_title @application.name, "Applications"
|
2015-01-17 18:37:27 -05:00
|
|
|
%h3.page-title
|
|
|
|
Application: #{@application.name}
|
|
|
|
|
2016-11-22 03:57:31 -05:00
|
|
|
.table-holder.oauth-application-show
|
2015-10-19 05:19:45 -04:00
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Application Id
|
|
|
|
%td
|
|
|
|
%code#application_id= @application.uid
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Secret:
|
|
|
|
%td
|
|
|
|
%code#secret= @application.secret
|
2015-01-17 18:37:27 -05:00
|
|
|
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Callback url
|
|
|
|
%td
|
|
|
|
- @application.redirect_uri.split.each do |uri|
|
|
|
|
%div
|
|
|
|
%span.monospace= uri
|
2016-11-22 03:57:31 -05:00
|
|
|
|
2017-07-24 16:45:12 -04:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Trusted
|
|
|
|
%td
|
|
|
|
= @application.trusted? ? 'Y' : 'N'
|
|
|
|
|
2016-12-04 23:19:51 -05:00
|
|
|
= render "shared/tokens/scopes_list", token: @application
|
2016-11-22 03:57:31 -05:00
|
|
|
|
2015-01-17 18:37:27 -05:00
|
|
|
.form-actions
|
|
|
|
= link_to 'Edit', edit_admin_application_path(@application), class: 'btn btn-primary wide pull-left'
|
|
|
|
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|