From 56d998cbdbf9743ced5a77895b902ccf33b36332 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 19 Mar 2017 20:29:41 +0100 Subject: Export follow/block lists as CSV --- app/views/settings/exports/show.html.haml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app/views/settings/exports') diff --git a/app/views/settings/exports/show.html.haml b/app/views/settings/exports/show.html.haml index d9006efdb..0a0ff8633 100644 --- a/app/views/settings/exports/show.html.haml +++ b/app/views/settings/exports/show.html.haml @@ -1,2 +1,17 @@ - content_for :page_title do = t('settings.export') + +%table.table + %tbody + %tr + %th= t('exports.storage') + %td= number_to_human_size @total_storage + %td + %tr + %th= t('exports.follows') + %td= @total_follows + %td= table_link_to 'download', t('exports.csv'), follows_settings_export_path(format: :csv) + %tr + %th= t('exports.blocks') + %td= @total_blocks + %td= table_link_to 'download', t('exports.csv'), blocks_settings_export_path(format: :csv) -- cgit