Switch to the merged automatic update route

This commit is contained in:
Girish Ramakrishnan
2020-08-19 22:30:48 -07:00
parent 5eb5b952d5
commit 4a1f8457cf
3 changed files with 12 additions and 30 deletions

View File

@@ -46,7 +46,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Configure Auto Update Schedule</h4>
<h4 class="modal-title">Configure Automatic Update Schedule</h4>
</div>
<div class="modal-body">
<form name="updateScheduleForm" role="form" novalidate ng-submit="updateSchedule.submit()" autocomplete="off">
@@ -54,18 +54,18 @@
<p class="has-error text-center" ng-show="updateSchedule.error">{{ updateSchedule.error.generic }}</p>
<div class="form-group">
<p>Select the days and hours during which Cloudron will apply automatic app updates. Please take care to not overlap this schedule with the
<p>Select the days and hours during which Cloudron will apply automatic platform and app updates. Please take care to not overlap this schedule with the
<a href="/#/backups">backup schedule</a>.
</p>
<div class="radio">
<label>
<input type="radio" ng-model="updateSchedule.type" value="never"> Disable Auto Updates
<input type="radio" ng-model="updateSchedule.type" value="never"> Disable Automatic Updates
</label>
</div>
<div class="radio">
<label>
<input type="radio" ng-model="updateSchedule.type" value="pattern"> Enable Auto Updates
<input type="radio" ng-model="updateSchedule.type" value="pattern"> Enable Automatic Updates
<span class="label label-danger" ng-show="updateSchedule.type === 'pattern' && !updateSchedule.isScheduleValid()">Select at least one day and time</span>
</label>
</div>
@@ -241,8 +241,8 @@
<div class="row">
<p class="col-md-12">
<span ng-show="updateSchedule.currentPattern !== 'never'">The current auto update schedule for apps is <b>{{ prettyAutoUpdateSchedule(updateSchedule.currentPattern) }}</b>.</span>
<span ng-show="updateSchedule.currentPattern === 'never'">Auto update for apps is <b>disabled</b>.</span>
<span ng-show="updateSchedule.currentPattern !== 'never'">The current automatic update schedule for platform and apps is <b>{{ prettyAutoUpdateSchedule(updateSchedule.currentPattern) }}</b>.</span>
<span ng-show="updateSchedule.currentPattern === 'never'">Automatic update for apps is <b>disabled</b>.</span>
<br/>
</p>
</div>