Export follow/block lists as CSV
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user