Merge branch 'staging/maintenance' into maintenance
This commit is contained in:
commit
d8976e1ba3
2 files changed
+7
-1
No files matched your search
@@ -81,6 +81,12 @@ $(function () {
|
||||
);
|
||||
});
|
||||
|
||||
self.enableUpdateAll = ko.pureComputed(function () {
|
||||
return (
|
||||
self.enableUpdate() && self.availableAndPossibleAndEnabled().length > 0
|
||||
);
|
||||
});
|
||||
|
||||
self.enable_configSave = ko.pureComputed(function () {
|
||||
return (
|
||||
self.config_checkType() === "github_release" ||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
{% endtrans %}</div>
|
||||
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdate, css: {disabled: !enableUpdate}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
|
||||
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdateAll, css: {disabled: !enableUpdateAll}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
|
||||
<button class="btn" data-bind="click: function() { $root.performCheck(true, false, true); }, enable: !checking(), css: {disabled: checking()}"><i class="fas fa-spinner fa-spin" data-bind="visible: checking"></i> {{ _('Check for updates') }}</button>
|
||||
<button class="btn btn-small" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user