{{#if this.showBackupStats}}

{{d-icon "archive"}} {{i18n "admin.dashboard.backups"}}

{{#if this.backupStats.free_bytes}} {{i18n "admin.dashboard.space_used_and_free" usedSize=this.usedBackupSpace freeSize=this.freeBackupSpace }} {{else}} {{i18n "admin.dashboard.space_used" usedSize=this.usedBackupSpace}} {{/if}}
{{i18n "admin.dashboard.backup_count" count=this.backupStats.count location=this.backupLocationName }} {{#if this.backupStats.last_backup_taken_at}}
{{html-safe (i18n "admin.dashboard.lastest_backup" date=(format-date this.backupStats.last_backup_taken_at leaveAgo="true" ) ) }} {{/if}}

{{/if}}

{{d-icon "upload"}} {{i18n "admin.dashboard.uploads"}}

{{#if this.uploadStats.free_bytes}} {{i18n "admin.dashboard.space_used_and_free" usedSize=this.usedUploadSpace freeSize=this.freeUploadSpace }} {{else}} {{i18n "admin.dashboard.space_used" usedSize=this.usedUploadSpace}} {{/if}}