0
0
Fork 0

Change user backups to use expiring URLs for download when possible (#24136)

This commit is contained in:
Eugen Rochko 2023-03-16 22:46:52 +01:00 committed by GitHub
parent edc7ca5920
commit 75e5a6e437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 4 deletions

View file

@ -64,6 +64,6 @@
%td= l backup.created_at
- if backup.processed?
%td= number_to_human_size backup.dump_file_size
%td= table_link_to 'download', t('exports.archive_takeout.download'), backup.dump.url
%td= table_link_to 'download', t('exports.archive_takeout.download'), download_backup_url(backup)
- else
%td{ colspan: 2 }= t('exports.archive_takeout.in_progress')