@@ -49,7 +49,7 @@ export default React.createClass({
49
49
< p >
50
50
If it matches, press the verify button below.
51
51
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.
53
53
</ p >
54
54
< p >
55
55
In future this verification process will be more sophisticated.
@@ -73,33 +73,33 @@ export default React.createClass({
73
73
) ;
74
74
} ,
75
75
76
- onBlockClick : function ( ) {
76
+ onBlacklistClick : function ( ) {
77
77
MatrixClientPeg . get ( ) . setDeviceBlocked (
78
78
this . props . userId , this . props . device . deviceId , true
79
79
) ;
80
80
} ,
81
81
82
- onUnblockClick : function ( ) {
82
+ onUnblacklistClick : function ( ) {
83
83
MatrixClientPeg . get ( ) . setDeviceBlocked (
84
84
this . props . userId , this . props . device . deviceId , false
85
85
) ;
86
86
} ,
87
87
88
88
render : function ( ) {
89
- var blockButton = null , verifyButton = null ;
89
+ var blacklistButton = null , verifyButton = null ;
90
90
91
91
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
96
96
</ button >
97
97
) ;
98
98
} 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
103
103
</ button >
104
104
) ;
105
105
}
@@ -115,7 +115,7 @@ export default React.createClass({
115
115
verifyButton = (
116
116
< button className = "mx_MemberDeviceInfo_textButton mx_MemberDeviceInfo_verify"
117
117
onClick = { this . onVerifyClick } >
118
- Verify
118
+ Verify...
119
119
</ button >
120
120
) ;
121
121
}
@@ -124,7 +124,7 @@ export default React.createClass({
124
124
return (
125
125
< div className = "mx_MemberDeviceInfo mx_DeviceVerifyButtons" >
126
126
{ verifyButton }
127
- { blockButton }
127
+ { blacklistButton }
128
128
</ div >
129
129
) ;
130
130
} ,
0 commit comments