File tree 2 files changed +37
-0
lines changed
skins/vector/css/vector-web/structures
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,14 @@ module.exports = React.createClass({
109
109
}
110
110
} ,
111
111
112
+ onInviteButtonClick : function ( ) {
113
+ // call ChatInviteDialog
114
+ dis . dispatch ( {
115
+ action : 'view_invite' ,
116
+ roomId : this . props . roomId ,
117
+ } ) ;
118
+ } ,
119
+
112
120
onRoomStateMember : function ( ev , state , member ) {
113
121
// redraw the badge on the membership list
114
122
if ( this . state . phase == this . Phase . MemberList && member . roomId === this . props . roomId ) {
@@ -236,6 +244,12 @@ module.exports = React.createClass({
236
244
</ div >
237
245
{ panel }
238
246
< div className = "mx_RightPanel_footer" >
247
+ < div className = "mx_RightPanel_invite" >
248
+ < div className = "mx_RightPanel_icon" onClick = { this . onInviteButtonClick } >
249
+ < TintableSvg src = "img/icons-settings.svg" width = "35" height = "35" />
250
+ </ div >
251
+ < div className = "mx_RightPanel_message" > Invite to this room</ div >
252
+ </ div >
239
253
</ div >
240
254
</ aside >
241
255
) ;
Original file line number Diff line number Diff line change @@ -103,3 +103,26 @@ limitations under the License.
103
103
-webkit-flex : 0 0 60px ;
104
104
flex : 0 0 60px ;
105
105
}
106
+
107
+ .mx_RightPanel_footer .mx_RightPanel_invite {
108
+ line-height : 35px ;
109
+ font-size : 14px ;
110
+ color : # 454545 ;
111
+ padding-top : 13px ;
112
+ padding-left : 5px ;
113
+ }
114
+
115
+ .mx_RightPanel_invite .mx_RightPanel_icon {
116
+ display : inline-block;
117
+ cursor : pointer;
118
+ }
119
+
120
+ .mx_RightPanel_invite .mx_RightPanel_icon object {
121
+ pointer-events : none;
122
+ }
123
+
124
+ .mx_RightPanel_invite .mx_RightPanel_message {
125
+ display : inline-block;
126
+ vertical-align : top;
127
+ padding-left : 10px
128
+ }
You can’t perform that action at this time.
0 commit comments