mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
7f0a865b05
* Allow export of mutes list * Allow importing of mutes list * Refactor to use Settings::Exports::BaseController and DRY up exports code
21 lines
660 B
Text
21 lines
660 B
Text
- 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'), settings_exports_follows_path(format: :csv)
|
|
%tr
|
|
%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)
|