2017-10-15 01:17:33 -07:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('settings.keyword_mutes')
|
2017-10-15 02:51:42 -07:00
|
|
|
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2017-10-20 13:12:45 -07:00
|
|
|
%th= t('keyword_mutes.keyword')
|
|
|
|
%th= t('keyword_mutes.match_whole_word')
|
2018-06-03 21:10:59 -07:00
|
|
|
%th= t('keyword_mutes.apply_to_mentions')
|
2017-10-15 02:51:42 -07:00
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
2017-10-24 16:40:28 -07:00
|
|
|
= render partial: 'keyword_mute', collection: @keyword_mutes, as: :keyword_mute
|
2017-10-15 02:51:42 -07:00
|
|
|
|
|
|
|
= paginate @keyword_mutes
|
2017-10-20 13:12:45 -07:00
|
|
|
.simple_form
|
|
|
|
= link_to t('keyword_mutes.add_keyword'), new_settings_keyword_mute_path, class: 'button'
|
|
|
|
= link_to t('keyword_mutes.remove_all'), destroy_all_settings_keyword_mutes_path, class: 'button negative', method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|