about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-12 12:20:44 -0400
committerEugen <eugen@zeonfederated.com>2017-04-12 18:20:44 +0200
commit7f0a865b05628fa82ac692ec9a21c418e30dac14 (patch)
tree9c6e38bf2a644bcf9aab6f1fdc7f275cb380891a /app/views/settings
parent08fce0821706a3c84b70fd513eb75c0ad7014c04 (diff)
Allow import/export of mutes list (#1541)
* Allow export of mutes list

* Allow importing of mutes list

* Refactor to use Settings::Exports::BaseController and DRY up exports code
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/exports/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/settings/exports/show.html.haml b/app/views/settings/exports/show.html.haml
index 432a61b4a..51be40fb6 100644
--- a/app/views/settings/exports/show.html.haml
+++ b/app/views/settings/exports/show.html.haml
@@ -15,3 +15,7 @@
       %th= t('exports.blocks')
       %td= @total_blocks
       %td= table_link_to 'download', t('exports.csv'), settings_exports_blocks_path(format: :csv)
+    %tr
+      %th= t('exports.mutes')
+      %td= @total_mutes
+      %td= table_link_to 'download', t('exports.csv'), settings_exports_mutes_path(format: :csv)