feat(xo-web/backup-ng/new): move compression in the advanced settings (#3281)

See #2711
This commit is contained in:
badrAZ 2018-08-08 11:45:34 +02:00 committed by Pierre Donias
parent ce21da4146
commit d38ad3a17f
2 changed files with 14 additions and 11 deletions

View File

@ -11,6 +11,7 @@
- [Health / Orphaned snapshot VDIs] Homogenize action buttons in table and enable bulk deletion [#3179](https://github.com/vatesfr/xen-orchestra/issues/3179) (PR [#3270](https://github.com/vatesfr/xen-orchestra/pull/3270)) - [Health / Orphaned snapshot VDIs] Homogenize action buttons in table and enable bulk deletion [#3179](https://github.com/vatesfr/xen-orchestra/issues/3179) (PR [#3270](https://github.com/vatesfr/xen-orchestra/pull/3270))
- [Health / Alarms] Homogenize action buttons in table and enable bulk deletion [#3179](https://github.com/vatesfr/xen-orchestra/issues/3179) (PR [#3271](https://github.com/vatesfr/xen-orchestra/pull/3271)) - [Health / Alarms] Homogenize action buttons in table and enable bulk deletion [#3179](https://github.com/vatesfr/xen-orchestra/issues/3179) (PR [#3271](https://github.com/vatesfr/xen-orchestra/pull/3271))
- [Backup NG Overview] List the Backup NG job's modes [#3169](https://github.com/vatesfr/xen-orchestra/issues/3169) (PR [#3277](https://github.com/vatesfr/xen-orchestra/pull/3277)) - [Backup NG Overview] List the Backup NG job's modes [#3169](https://github.com/vatesfr/xen-orchestra/issues/3169) (PR [#3277](https://github.com/vatesfr/xen-orchestra/pull/3277))
- [Backup NG form] Move "Use compression" checkbox in the advanced settings [#2711](https://github.com/vatesfr/xen-orchestra/issues/2711) (PR [#3281](https://github.com/vatesfr/xen-orchestra/pull/3281))
### Bug fixes ### Bug fixes

View File

@ -599,17 +599,6 @@ export default [
/> />
</FormGroup> </FormGroup>
)} )}
{state.showCompression && (
<label>
<input
checked={compression}
name='compression'
onChange={effects.setCheckboxValue}
type='checkbox'
/>{' '}
<strong>{_('useCompression')}</strong>
</label>
)}
</CardBlock> </CardBlock>
</Card> </Card>
<FormFeedback <FormFeedback
@ -840,6 +829,19 @@ export default [
/> />
</label> </label>
</FormGroup> </FormGroup>
{state.showCompression && (
<FormGroup>
<label>
<strong>{_('useCompression')}</strong>{' '}
<input
checked={compression}
name='compression'
onChange={effects.setCheckboxValue}
type='checkbox'
/>
</label>
</FormGroup>
)}
</CardBlock> </CardBlock>
</Card> </Card>
</Col> </Col>