@@ -49,7 +49,7 @@ export default React.createClass({
4949 < p >
5050 If it matches, press the verify button below.
5151 If it doesnt, then someone else is intercepting this device
52- and you probably want to press the block button instead.
52+ and you probably want to press the blacklist button instead.
5353 </ p >
5454 < p >
5555 In future this verification process will be more sophisticated.
@@ -73,33 +73,33 @@ export default React.createClass({
7373 ) ;
7474 } ,
7575
76- onBlockClick : function ( ) {
76+ onBlacklistClick : function ( ) {
7777 MatrixClientPeg . get ( ) . setDeviceBlocked (
7878 this . props . userId , this . props . device . deviceId , true
7979 ) ;
8080 } ,
8181
82- onUnblockClick : function ( ) {
82+ onUnblacklistClick : function ( ) {
8383 MatrixClientPeg . get ( ) . setDeviceBlocked (
8484 this . props . userId , this . props . device . deviceId , false
8585 ) ;
8686 } ,
8787
8888 render : function ( ) {
89- var blockButton = null , verifyButton = null ;
89+ var blacklistButton = null , verifyButton = null ;
9090
9191 if ( this . props . device . isBlocked ( ) ) {
92- blockButton = (
93- < button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_unblock "
94- onClick = { this . onUnblockClick } >
95- Unblock
92+ blacklistButton = (
93+ < button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_unblacklist "
94+ onClick = { this . onUnblacklistClick } >
95+ Unblacklist
9696 </ button >
9797 ) ;
9898 } else {
99- blockButton = (
100- < button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_block "
101- onClick = { this . onBlockClick } >
102- Block
99+ blacklistButton = (
100+ < button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_blacklist "
101+ onClick = { this . onBlacklistClick } >
102+ Blacklist
103103 </ button >
104104 ) ;
105105 }
@@ -115,7 +115,7 @@ export default React.createClass({
115115 verifyButton = (
116116 < button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_verify"
117117 onClick = { this . onVerifyClick } >
118- Verify
118+ Verify...
119119 </ button >
120120 ) ;
121121 }
@@ -124,7 +124,7 @@ export default React.createClass({
124124 return (
125125 < div className = "mx_MemberDeviceInfo mx_DeviceVerifyButtons" >
126126 { verifyButton }
127- { blockButton }
127+ { blacklistButton }
128128 </ div >
129129 ) ;
130130 } ,
0 commit comments