Various fixes and improvements (#12878)
* Fix unused role routes being generated * Remove unused JavaScript code * Refactor filters code to be DRYer * Fix `.count == 0` comparisons to `.empty?` in views * Fix filters in views
This commit is contained in:
parent
06f6995860
commit
6feafb8802
26 changed files with 92 additions and 64 deletions
|
@ -4,7 +4,7 @@
|
|||
- content_for :heading_actions do
|
||||
= link_to t('doorkeeper.applications.index.new'), new_settings_application_path, class: 'button'
|
||||
|
||||
- if @applications.count == 0
|
||||
- if @applications.empty?
|
||||
%div.muted-hint.center-text=t 'doorkeeper.applications.index.empty'
|
||||
- else
|
||||
.table-wrapper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue