Merge pull request #62 from nextcloud/enh/24/show-initially-failed-backup

also show failed backup if the initial backup has failed
This commit is contained in:
Simon L 2021-12-22 13:26:48 +01:00 committed by GitHub
commit 0cb71b747c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@
{% if borg_backup_host_location != "" %}
<h2>Backup and restore</h2>
{% if has_backup_run_once == true and isBackupContainerRunning == false %}
{% if isBackupContainerRunning == false %}
{% if backup_exit_code > 0 %}
<span class="status error"></span> Last {{ borg_backup_mode }} failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup">Logs</a>)<br /><br />
{% elseif backup_exit_code == 0 %}