remove sync diabled tip

This commit is contained in:
proxy.zeroomega 2024-09-01 10:30:38 +08:00
parent f33ba4d47a
commit 80c17f608f
2 changed files with 1 additions and 10 deletions

View File

@ -12,7 +12,7 @@ angular.module('omega').controller 'SwitchProfileCtrl', ($scope, $rootScope,
eol = '\r\n'
info = '\n'
info += '; Require: SwitchyOmega >= 2.3.2' + eol
info += '; Require: ZeroOmega >= 2.3.2' + eol
info += "; Date: #{new Date().toLocaleDateString()}" + eol
info += "; Usage: #{trFilter('ruleList_usageUrl')}" + eol

View File

@ -27,13 +27,4 @@
x-spectrum-colorpicker(ng-model='profile.color' options='spectrumOptions'
ng-if='profile.profileType != "VirtualProfile"')
h2.profile-name {{'options_profileTabPrefix' | tr}}{{profile.name}}
section.settings-group(ng-show='profile.syncOptions == "disabled"')
p.alert.alert-info.width-limit(ng-show='!profile.syncError')
span.glyphicon.glyphicon-info-sign
= ' '
| {{'Syncing is disabled for this profile.'}}
p.alert.alert-danger.width-limit(ng-show='!!profile.syncError')
span.glyphicon.glyphicon-remove
= ' '
| {{('options_profileSyncDisabled_' + profile.syncError.reason) | tr}}
div(ng-include='profileTemplate')