use consistent styling of automatic backups and updates
This commit is contained in:
@@ -922,8 +922,8 @@
|
||||
<div class="col-md-12">
|
||||
<label class="control-label">{{ 'app.updates.auto.title' | tr }}</label>
|
||||
<p>{{ 'app.updates.auto.description' | tr }}</p>
|
||||
<p ng-show="updates.enableAutomaticUpdate">{{ 'app.updates.auto.enabled' | tr }}</p>
|
||||
<p ng-hide="updates.enableAutomaticUpdate">{{ 'app.updates.auto.disabled' | tr }}</p>
|
||||
<p class="text-success" ng-show="updates.enableAutomaticUpdate">{{ 'app.updates.auto.enabled' | tr }}</p>
|
||||
<p class="text-danger" ng-hide="updates.enableAutomaticUpdate">{{ 'app.updates.auto.disabled' | tr }}</p>
|
||||
<button class="btn btn-primary pull-right" uib-tooltip="{{ app.appStoreId ? '' : 'Not available for custom apps' }}" ng-class="{ 'btn-danger': updates.enableAutomaticUpdate }" ng-click="updates.toggleAutomaticUpdates()" ng-disabled="updates.busyAutomaticUpdates || !app.appStoreId"><i class="fa fa-circle-notch fa-spin" ng-show="updates.busyAutomaticUpdates"></i> {{ updates.enableAutomaticUpdate ? ('app.updates.auto.disableAction' | tr) : ('app.updates.auto.enableAction' | tr) }} </button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user