Merge backup label and date

This commit is contained in:
Johannes Zellner
2022-04-07 15:46:28 +02:00
parent 940872e5a5
commit 347557c6ae

View File

@@ -549,7 +549,6 @@
<th>{{ 'backups.listing.version' | tr }}</th>
<th>{{ 'main.table.date' | tr }}</th>
<th>{{ 'backups.listing.contents' | tr }}</th>
<th>Label</th>
<th class="text-right">{{ 'main.actions' | tr }}</th>
</tr>
</thead>
@@ -557,12 +556,11 @@
<tr ng-repeat="backup in backups">
<td><i class="fas fa-lock" ng-show="backup.preserveSecs === -1" uib-tooltip="This backup will be preserved"></i></td>
<td ng-click="backupDetails.show(backup)" class="hand">v{{ backup.packageVersion }}</td>
<td ng-click="backupDetails.show(backup)" class="hand"><span uib-tooltip="{{ backup.creationTime | prettyLongDate }}">{{ backup.creationTime | prettyDate }}</span></td>
<td ng-click="backupDetails.show(backup)" class="hand"><span uib-tooltip="{{ backup.creationTime | prettyLongDate }}">{{ backup.creationTime | prettyDate }} <b ng-show="backup.label">({{ backup.label }})</b></span></td>
<td ng-click="backupDetails.show(backup)" class="hand">
<span ng-show="!backup.contents.length">{{ 'backups.listing.noApps' | tr }}</span>
<span ng-show="backup.contents.length">{{ 'backups.listing.appCount' | tr:{ appCount: backup.contents.length } }}</span>
</td>
<td ng-click="backupDetails.show(backup)" class="hand">{{ backup.label }}</td>
<td class="text-right no-wrap" style="vertical-align: bottom">
<button class="btn btn-xs btn-default" ng-click="editBackup.show(backup)" uib-tooltip="Edit Backup"><i class="fa fa-pencil-alt"></i></button>
<button class="btn btn-xs btn-default" ng-click="downloadConfig(backup)" uib-tooltip="{{ 'backups.listing.tooltipDownloadBackupConfig' | tr }}"><i class="fas fa-file-alt"></i></button>