Skip to content

Commit

Permalink
Merge pull request #1233 from swaterkamp/GUImisc8
Browse files Browse the repository at this point in the history
Change order of options in TargetDialog
  • Loading branch information
bjoernricks authored Mar 29, 2019
2 parents d5e7165 + d6d59e5 commit f5031c0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $ cd gsa && git log

## gsa 8.0 unreleased

* Change order of options in target dialog #1233
* Don't limit the input field lengths anymore #1232
* Convert first filter keyword values less then one to one #1228
* Always use equal relation for first and rows filter keywords #1228
Expand Down
36 changes: 18 additions & 18 deletions gsa/src/web/pages/targets/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,24 +294,6 @@ const TargetDialog = ({
</Divider>
</FormGroup>

<FormGroup title={_('Reverse Lookup Only')}>
<YesNoRadio
name="reverse_lookup_only"
disabled={state.in_use}
value={state.reverse_lookup_only}
onChange={onValueChange}
/>
</FormGroup>

<FormGroup title={_('Reverse Lookup Unify')}>
<YesNoRadio
name="reverse_lookup_unify"
disabled={state.in_use}
value={state.reverse_lookup_unify}
onChange={onValueChange}
/>
</FormGroup>

{capabilities.mayOp('get_port_lists') && (
<FormGroup title={_('Port List')}>
<Divider>
Expand Down Expand Up @@ -447,6 +429,24 @@ const TargetDialog = ({
</Divider>
</FormGroup>
)}

<FormGroup title={_('Reverse Lookup Only')}>
<YesNoRadio
name="reverse_lookup_only"
disabled={state.in_use}
value={state.reverse_lookup_only}
onChange={onValueChange}
/>
</FormGroup>

<FormGroup title={_('Reverse Lookup Unify')}>
<YesNoRadio
name="reverse_lookup_unify"
disabled={state.in_use}
value={state.reverse_lookup_unify}
onChange={onValueChange}
/>
</FormGroup>
</Layout>
);
}}
Expand Down

0 comments on commit f5031c0

Please sign in to comment.