mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 20:45:04 +01:00
0e39cc6a35
* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
22 lines
688 B
Plaintext
22 lines
688 B
Plaintext
- content_for :page_title do
|
|
= t('settings.export')
|
|
|
|
%table.table
|
|
%tbody
|
|
%tr
|
|
%th= t('exports.storage')
|
|
%td= number_to_human_size @export.total_storage
|
|
%td
|
|
%tr
|
|
%th= t('exports.follows')
|
|
%td= @export.total_follows
|
|
%td= table_link_to 'download', t('exports.csv'), settings_exports_follows_path(format: :csv)
|
|
%tr
|
|
%th= t('exports.blocks')
|
|
%td= @export.total_blocks
|
|
%td= table_link_to 'download', t('exports.csv'), settings_exports_blocks_path(format: :csv)
|
|
%tr
|
|
%th= t('exports.mutes')
|
|
%td= @export.total_mutes
|
|
%td= table_link_to 'download', t('exports.csv'), settings_exports_mutes_path(format: :csv)
|