about summary refs log tree commit diff
path: root/app/views/settings/exports/show.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-01-01 13:44:04 +0100
committerGitHub <noreply@github.com>2019-01-01 13:44:04 +0100
commit7fc7437d05bf1441bb694b847f7e65ce37cd74fa (patch)
tree2ecefba5f58a812ab429151841b30e25a331097e /app/views/settings/exports/show.html.haml
parent1d4215be777afde86208059e3eacf615533bc734 (diff)
Add CSV export for lists and domain blocks (#9677)
Fix #6893
Fix #9268
Diffstat (limited to 'app/views/settings/exports/show.html.haml')
-rw-r--r--app/views/settings/exports/show.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/settings/exports/show.html.haml b/app/views/settings/exports/show.html.haml
index 6c030b1ab..b13cea976 100644
--- a/app/views/settings/exports/show.html.haml
+++ b/app/views/settings/exports/show.html.haml
@@ -17,6 +17,10 @@
         %td= number_with_delimiter @export.total_follows
         %td= table_link_to 'download', t('exports.csv'), settings_exports_follows_path(format: :csv)
       %tr
+        %th= t('exports.lists')
+        %td= number_with_delimiter @export.total_lists
+        %td= table_link_to 'download', t('exports.csv'), settings_exports_lists_path(format: :csv)
+      %tr
         %th= t('accounts.followers', count: @export.total_followers)
         %td= number_with_delimiter @export.total_followers
         %td
@@ -28,6 +32,10 @@
         %th= t('exports.mutes')
         %td= number_with_delimiter @export.total_mutes
         %td= table_link_to 'download', t('exports.csv'), settings_exports_mutes_path(format: :csv)
+      %tr
+        %th= t('exports.domain_blocks')
+        %td= number_with_delimiter @export.total_domain_blocks
+        %td= table_link_to 'download', t('exports.csv'), settings_exports_domain_blocks_path(format: :csv)
 
 %p.muted-hint= t('exports.archive_takeout.hint_html')