Fix broken border on applications list (#32147)
This commit is contained in:
parent
7b92cf3b47
commit
f73787a4b8
@ -18,7 +18,9 @@
|
|||||||
- @applications.each do |application|
|
- @applications.each do |application|
|
||||||
%tr
|
%tr
|
||||||
%td= link_to application.name, settings_application_path(application)
|
%td= link_to application.name, settings_application_path(application)
|
||||||
%th= application.scopes
|
%th
|
||||||
|
- application.scopes.to_s.split.each do |scope|
|
||||||
|
= tag.samp(scope, class: 'information-badge', title: t("doorkeeper.scopes.#{scope}"))
|
||||||
%td
|
%td
|
||||||
= table_link_to 'close', t('doorkeeper.applications.index.delete'), settings_application_path(application), method: :delete, data: { confirm: t('doorkeeper.applications.confirmations.destroy') }
|
= table_link_to 'close', t('doorkeeper.applications.index.delete'), settings_application_path(application), method: :delete, data: { confirm: t('doorkeeper.applications.confirmations.destroy') }
|
||||||
|
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
%td
|
%td
|
||||||
%code= @application.secret
|
%code= @application.secret
|
||||||
%tr
|
%tr
|
||||||
%th{ rowspan: 2 }= t('applications.your_token')
|
%th= t('applications.your_token')
|
||||||
%td
|
%td
|
||||||
%code= current_user.token_for_app(@application).token
|
%code= current_user.token_for_app(@application).token
|
||||||
%tr
|
%tr
|
||||||
|
%th
|
||||||
%td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
|
%td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
|
||||||
|
|
||||||
%hr/
|
%hr/
|
||||||
|
Loading…
Reference in New Issue
Block a user