{{#if showBackupStats}}

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

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

{{/if}}

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

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