diff --git a/README.md b/README.md index fdf5c502a..01f3f7b6c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,6 @@ For complete beginners (like me): You can access marathon UI bundled with marathon on http://localhost:8080. -To access **your local marathon ui**, use http://localhost:8081/dev. +To access **your local marathon ui**, use http://localhost:8081/dev/ (don't forget the trailing /) http://localhost:8080 expose a version of marathon ui that you have built outside of docker (you don't need to) diff --git a/src/js/components/AlertDialogComponent.jsx b/src/js/components/AlertDialogComponent.jsx index 4cc6a7707..96e17e44c 100644 --- a/src/js/components/AlertDialogComponent.jsx +++ b/src/js/components/AlertDialogComponent.jsx @@ -37,6 +37,12 @@ var AlertDialogComponent = React.createClass({ var data = props.data; var className = classNames("dialog", data.severity); + const addLineBreaks = string => string.split("\n").map((text, index) => ( +
+ {text}
+
+ )); + return (
- {data.message} + {addLineBreaks(data.message)}
+ ); + }, + handleClickOutside: function () { this.setState({ isDropdownActivated: false @@ -77,6 +92,7 @@ var AppPageControlsComponent = React.createClass({ Application Restart {this.getResetDelayButton()} + {this.getDeploymentDiagnosticButton()}