mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 11:48:06 +01:00
Fix broken border on applications list (#32147)
This commit is contained in:
parent
754b03d8cb
commit
784d1bfb29
2 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,9 @@
|
|||
- @applications.each do |application|
|
||||
%tr
|
||||
%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
|
||||
= 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
|
||||
%code= @application.secret
|
||||
%tr
|
||||
%th{ rowspan: 2 }= t('applications.your_token')
|
||||
%th= t('applications.your_token')
|
||||
%td
|
||||
%code= current_user.token_for_app(@application).token
|
||||
%tr
|
||||
%th
|
||||
%td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
|
||||
|
||||
%hr/
|
||||
|
|
Loading…
Reference in a new issue