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

29 lines
686 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title @application.name, "Applications"
2015-04-26 12:48:37 +05:30
%h3.page-title
Application: #{@application.name}
2015-11-26 14:37:03 +05:30
.table-holder
%table.table
%tr
%td
Application Id
%td
%code#application_id= @application.uid
%tr
%td
Secret:
%td
%code#secret= @application.secret
2015-04-26 12:48:37 +05:30
2015-11-26 14:37:03 +05:30
%tr
%td
Callback url
%td
- @application.redirect_uri.split.each do |uri|
%div
%span.monospace= uri
2015-04-26 12:48:37 +05:30
.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'