Fix design of announcements in admin UI (#12989)
This commit is contained in:
parent
0fcc4b1c56
commit
305abc9e05
4 changed files with 61 additions and 30 deletions
|
@ -15,16 +15,8 @@
|
|||
%div.muted-hint.center-text
|
||||
= t 'admin.announcements.empty'
|
||||
- else
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t('simple_form.labels.announcement.text')
|
||||
%th= t('admin.announcements.time_range')
|
||||
%th= t('admin.announcements.published')
|
||||
%th
|
||||
%tbody
|
||||
= render partial: 'announcement', collection: @announcements
|
||||
.announcements-list
|
||||
= render partial: 'announcement', collection: @announcements
|
||||
|
||||
= paginate @announcements
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue