Commit 9455ede4 authored by eugielimpin's avatar eugielimpin

Fix the markup for broadcast messages table

parent 138725b9
......@@ -11,7 +11,8 @@
%br.clearfix
- if @broadcast_messages.any?
%table.table.table-responsive
.table-responsive
%table.table.b-table.gl-table
%thead
%tr
%th= _('Status')
......@@ -36,8 +37,7 @@
= message.target_path
%td
= message.broadcast_type.capitalize
%td.gl-white-space-nowrap.gl-display-flex
%td.gl-white-space-nowrap
= link_to sprite_icon('pencil-square', css_class: 'gl-icon'), edit_admin_broadcast_message_path(message), title: _('Edit'), class: 'btn btn-icon gl-button'
= link_to sprite_icon('remove', css_class: 'gl-icon'), admin_broadcast_message_path(message), method: :delete, remote: true, title: _('Remove'), class: 'js-remove-tr btn btn-icon gl-button btn-danger ml-2'
= paginate @broadcast_messages, theme: 'gitlab'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment