Setup haml-lint CI with todo config (#23524)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
%li= filter_link_to safe_join([t('admin.announcements.live'), "(#{number_with_delimiter(Announcement.published.count)})"], ' '), published: '1', unpublished: nil
|
||||
|
||||
- if @announcements.empty?
|
||||
%div.muted-hint.center-text
|
||||
.muted-hint.center-text
|
||||
= t 'admin.announcements.empty'
|
||||
- else
|
||||
.announcements-list
|
||||
|
Reference in New Issue
Block a user