2017-10-15 08:17:33 +00:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('settings.keyword_mutes')
|
2017-10-15 09:51:42 +00:00
|
|
|
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2017-10-20 20:12:45 +00:00
|
|
|
%th= t('keyword_mutes.keyword')
|
|
|
|
%th= t('keyword_mutes.match_whole_word')
|
2018-06-04 04:10:59 +00:00
|
|
|
%th= t('keyword_mutes.apply_to_mentions')
|
2017-10-15 09:51:42 +00:00
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
2017-10-24 23:40:28 +00:00
|
|
|
= render partial: 'keyword_mute', collection: @keyword_mutes, as: :keyword_mute
|
2017-10-15 09:51:42 +00:00
|
|
|
|
|
|
|
= paginate @keyword_mutes
|
2017-10-20 20:12:45 +00: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') }
|