about summary refs log tree commit diff
path: root/app/views/settings/exports/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/exports/show.html.haml')
-rw-r--r--app/views/settings/exports/show.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/settings/exports/show.html.haml b/app/views/settings/exports/show.html.haml
new file mode 100644
index 000000000..0a0ff8633
--- /dev/null
+++ b/app/views/settings/exports/show.html.haml
@@ -0,0 +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)