Merge pull request #113 from nextcloud/enh/102/improve-update-instructions

improve update instructions
This commit is contained in:
Simon L 2022-01-13 16:46:41 +01:00 committed by GitHub
commit 297d5e05d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -99,9 +99,13 @@
</ul>
{% if has_update_available == true %}
Updates are available. Stop your containers and restart them to apply the update. You should consider creating a backup first.<br><br>
⚠ Container updates are available. Click on `Stop Containers` and `Start Containers` to update them. You should consider creating a backup first. The mastercontainer gets updated with a different procedure though and has its own update button which is visible if an update is available.<br><br>
{% else %}
You are up-to-date.<br><br>
{% if is_mastercontainer_update_available == false %}
Your containers are up-to-date.<br><br>
{% else %}
Your containers are up-to-date. (Except the mastercontainer. See the section below.)<br><br>
{% endif %}
{% endif %}
{% endif %}
@ -142,7 +146,7 @@
{% if isBackupOrRestoreRunning == false %}
<h2>Mastercontainer update</h2>
A new mastercontainer is available. Please click on the button below to update it.<br><br>
⚠ A mastercontainer update is available. Please click on the button below to update it. All other containers get updated independently from the mastercontainer by simply clicking on `Stop containers` and clicking on `Start containers` if a new update is available.<br><br>
<form method="POST" action="/api/docker/watchtower" class="xhr">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">