<tr class="@if (!empty($odd) && $odd == true) odd @else even @endif">
    <td>{{ $data['name'] }}</td>
    <td>{{ $data['description'] }}</td>
    <td>{{ human_file_size(get_backup_size($key)) }}</td>
    <td style="width: 250px;">{{ $data['date'] }}</td>
    <td style="width: 150px;">
        @if ($backupManager->isDatabaseBackupAvailable($key))
            <a href="{{ route('backups.download.database', $key) }}" class="text-success" data-toggle="tooltip" title="{{ trans('plugins/backup::backup.download_database') }}"><i class="icon icon-database"></i></a>
        @endif

        <a href="{{ route('backups.download.uploads.folder', $key) }}" class="text-primary" data-toggle="tooltip" title="{{ trans('plugins/backup::backup.download_uploads_folder') }}"><i class="icon icon-download"></i></a>

        @if (auth()->user()->hasPermission('backups.destroy'))
            <a href="#" data-section="{{ route('backups.destroy', $key) }}" class="text-danger deleteDialog" data-toggle="tooltip" title="{{ trans('core/base::tables.delete_entry') }}"><i class="icon icon-trash"></i></a>
        @endif

        @if (auth()->user()->hasPermission('backups.restore'))
            <a href="#" data-section="{{ route('backups.restore', $key) }}" class="text-info restoreBackup" data-toggle="tooltip" title="{{ trans('plugins/backup::backup.restore_tooltip') }}"><i class="icon icon-publish"></i></a>
        @endif
    </td>
</tr>
