diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-03-14 23:15:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 04:15:36 +0100 |
commit | 75131e7bf7f3d96cf325e674e6b76b0096382e99 (patch) | |
tree | 82984365a01b85c74037554d34194d0dfbeb6dff /app/views/admin/announcements | |
parent | a232a1feb804e22507ca104ca0aaf21a7c70cb26 (diff) |
Setup haml-lint CI with todo config (#23524)
Diffstat (limited to 'app/views/admin/announcements')
-rw-r--r-- | app/views/admin/announcements/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/announcements/index.html.haml b/app/views/admin/announcements/index.html.haml index 40f02b914..ce520f59d 100644 --- a/app/views/admin/announcements/index.html.haml +++ b/app/views/admin/announcements/index.html.haml @@ -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 |