Fix design of announcements in admin UI (#12989)

This commit is contained in:
Eugen Rochko 2020-01-28 02:21:00 +01:00 committed by GitHub
parent 0fcc4b1c56
commit 305abc9e05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 30 deletions

View file

@ -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