mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
This commit is contained in:
parent
dd7d6188f2
commit
edaff81c0a
@ -2077,7 +2077,6 @@ angular.module('syncthing.core')
|
|||||||
'params': {
|
'params': {
|
||||||
'command': '' + folderCfg._guiVersioning.externalCommand
|
'command': '' + folderCfg._guiVersioning.externalCommand
|
||||||
},
|
},
|
||||||
'cleanupIntervalS': folderCfg._guiVersioning.cleanupIntervalS
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -2096,7 +2096,6 @@ angular.module('syncthing.core')
|
|||||||
'params': {
|
'params': {
|
||||||
'command': '' + folderCfg._guiVersioning.externalCommand
|
'command': '' + folderCfg._guiVersioning.externalCommand
|
||||||
},
|
},
|
||||||
'cleanupIntervalS': folderCfg._guiVersioning.cleanupIntervalS
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
<span translate ng-if="folderEditor.externalCommand.$error.required && folderEditor.externalCommand.$dirty">The path cannot be blank.</span>
|
<span translate ng-if="folderEditor.externalCommand.$error.required && folderEditor.externalCommand.$dirty">The path cannot be blank.</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" ng-if="currentFolder._guiVersioning.selector != 'none'" ng-class="{'has-error': folderEditor._guiVersioning.cleanupIntervalS.$invalid && folderEditor._guiVersioning.cleanupIntervalS.$dirty}">
|
<div class="form-group" ng-if="currentFolder._guiVersioning.selector != 'none' && currentFolder._guiVersioning.selector != 'external'" ng-class="{'has-error': folderEditor._guiVersioning.cleanupIntervalS.$invalid && folderEditor._guiVersioning.cleanupIntervalS.$dirty}">
|
||||||
<label translate for="versioningCleanupIntervalS">Cleanup Interval</label>
|
<label translate for="versioningCleanupIntervalS">Cleanup Interval</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input name="versioningCleanupIntervalS" id="versioningCleanupIntervalS" class="form-control text-right" type="number" ng-model="currentFolder._guiVersioning.cleanupIntervalS" required="" min="0" max="31536000" aria-required="true" />
|
<input name="versioningCleanupIntervalS" id="versioningCleanupIntervalS" class="form-control text-right" type="number" ng-model="currentFolder._guiVersioning.cleanupIntervalS" required="" min="0" max="31536000" aria-required="true" />
|
||||||
|
Loading…
Reference in New Issue
Block a user