diff --git a/frontend/src/Settings/AdvancedSettingsButton.js b/frontend/src/Settings/AdvancedSettingsButton.js index b441ce28a..24383bb1e 100644 --- a/frontend/src/Settings/AdvancedSettingsButton.js +++ b/frontend/src/Settings/AdvancedSettingsButton.js @@ -17,7 +17,7 @@ function AdvancedSettingsButton(props) { return ( } + + { + this.props.toggleAdvancedSettings(); + }; + // // Render @@ -67,6 +78,7 @@ class EditApplicationModalContentConnector extends Component { onTestPress={this.onTestPress} onInputChange={this.onInputChange} onFieldChange={this.onFieldChange} + onAdvancedSettingsPress={this.onAdvancedSettingsPress} /> ); } @@ -82,7 +94,8 @@ EditApplicationModalContentConnector.propTypes = { setApplicationFieldValue: PropTypes.func, saveApplication: PropTypes.func, testApplication: PropTypes.func, - onModalClose: PropTypes.func.isRequired + onModalClose: PropTypes.func.isRequired, + toggleAdvancedSettings: PropTypes.func.isRequired }; export default connect(createMapStateToProps, mapDispatchToProps)(EditApplicationModalContentConnector); diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 497e5b573..d1ccc56ab 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -16,6 +16,8 @@ "Added": "Added", "AddedToDownloadClient": "Release added to client", "AddingTag": "Adding tag", + "AdvancedSettingsHiddenClickToShow": "Advanced settings hidden, click to show", + "AdvancedSettingsShownClickToHide": "Advanced settings shown, click to hide", "Age": "Age", "Album": "Album", "All": "All", @@ -183,7 +185,6 @@ "Grabs": "Grabs", "Health": "Health", "HealthNoIssues": "No issues with your configuration", - "HiddenClickToShow": "Hidden, click to show", "HideAdvanced": "Hide Advanced", "History": "History", "HistoryCleanup": "History Cleanup", @@ -414,7 +415,6 @@ "ShowAdvanced": "Show Advanced", "ShowSearch": "Show Search", "ShowSearchHelpText": "Show search button on hover", - "ShownClickToHide": "Advanced settings shown, click to hide", "Shutdown": "Shutdown", "Size": "Size", "Sort": "Sort",