about summary refs log tree commit diff
path: root/app/views/settings/keyword_mutes/_keyword_mute.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/keyword_mutes/_keyword_mute.html.haml')
-rw-r--r--app/views/settings/keyword_mutes/_keyword_mute.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/settings/keyword_mutes/_keyword_mute.html.haml b/app/views/settings/keyword_mutes/_keyword_mute.html.haml
new file mode 100644
index 000000000..c45cc64fb
--- /dev/null
+++ b/app/views/settings/keyword_mutes/_keyword_mute.html.haml
@@ -0,0 +1,10 @@
+%tr
+  %td
+    = keyword_mute.keyword
+  %td
+    - if keyword_mute.whole_word
+      %i.fa.fa-check
+  %td
+    = table_link_to 'edit', t('keyword_mutes.edit'), edit_settings_keyword_mute_path(keyword_mute)
+  %td
+    = table_link_to 'times', t('keyword_mutes.remove'), settings_keyword_mute_path(keyword_mute), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }