debian-mirror-gitlab/app/views/doorkeeper/applications/show.html.haml

35 lines
989 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- add_to_breadcrumbs _("Applications"), oauth_applications_path
2018-03-17 18:26:18 +05:30
- breadcrumb_title @application.name
2018-11-18 11:00:15 +05:30
- page_title @application.name, _("Applications")
2017-09-10 17:25:29 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2015-04-26 12:48:37 +05:30
%h3.page-title
2018-11-18 11:00:15 +05:30
= _("Application: %{name}") % { name: @application.name }
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
.table-holder.oauth-application-show
2015-11-26 14:37:03 +05:30
%table.table
%tr
%td
2018-11-18 11:00:15 +05:30
= _('Application Id')
2015-11-26 14:37:03 +05:30
%td
%code#application_id= @application.uid
%tr
%td
2018-11-18 11:00:15 +05:30
= _('Secret:')
2015-11-26 14:37:03 +05:30
%td
%code#secret= @application.secret
2015-04-26 12:48:37 +05:30
2015-11-26 14:37:03 +05:30
%tr
%td
2018-11-18 11:00:15 +05:30
= _('Callback url')
2015-11-26 14:37:03 +05:30
%td
- @application.redirect_uri.split.each do |uri|
%div
%span.monospace= uri
2017-08-17 22:00:37 +05:30
= render "shared/tokens/scopes_list", token: @application
2015-04-26 12:48:37 +05:30
.form-actions
2018-11-18 11:00:15 +05:30
= link_to _('Edit'), edit_oauth_application_path(@application), class: 'btn btn-primary wide float-left'
2015-04-26 12:48:37 +05:30
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'