@@ -29,23 +29,26 @@ module.exports = React.createClass({
2929 showHelpPopup : function ( ) {
3030 var ErrorDialog = sdk . getComponent ( 'organisms.ErrorDialog' ) ;
3131 Modal . createDialog ( ErrorDialog , {
32- title : 'Custom Server Options' ,
33- description : "You can use the custom server options to log into other Matrix servers by specifying a different Home server URL. " +
34- "This allows you to use Vector with an existing Matrix account on a different Home server. " +
35- "You can also set a custom Identity server but this will affect people's ability to find you " +
36- "if you use a server in a group other than the main Matrix.org group." ,
37- button : "Dismiss" ,
38- focus : true
32+ title : 'Custom Server Options' ,
33+ description : < span >
34+ You can use the custom server options to log into other Matrix servers by specifying a different Home server URL.< br />
35+ This allows you to use Vector with an existing Matrix account on a different Home server.< br />
36+ < br />
37+ You can also set a custom Identity server but this will affect people's ability to find you
38+ if you use a server in a group other than the main Matrix.org group.
39+ </ span > ,
40+ button : "Dismiss" ,
41+ focus : true ,
3942 } ) ;
4043 } ,
4144
4245 render : function ( ) {
4346 return (
4447 < div className = "mx_ServerConfig" >
4548 < label className = "mx_Login_label mx_ServerConfig_hslabel" htmlFor = "hsurl" > Home server URL</ label >
46- < input className = "mx_Login_field" id = "hsurl" type = "text" value = { this . state . hs_url } onChange = { this . hsChanged } />
49+ < input className = "mx_Login_field" id = "hsurl" type = "text" placeholder = { this . state . original_hs_url } value = { this . state . hs_url } onChange = { this . hsChanged } />
4750 < label className = "mx_Login_label mx_ServerConfig_islabel" htmlFor = "isurl" > Identity server URL</ label >
48- < input className = "mx_Login_field" type = "text" value = { this . state . is_url } onChange = { this . isChanged } />
51+ < input className = "mx_Login_field" id = "isurl" type = "text" placeholder = { this . state . original_is_url } value = { this . state . is_url } onChange = { this . isChanged } />
4952 < a className = "mx_ServerConfig_help" href = "#" onClick = { this . showHelpPopup } > What does this mean?</ a >
5053 </ div >
5154 ) ;
0 commit comments