Display breakout rooms user names in row tooltip.
This commit is contained in:
parent
9dee97c75f
commit
2910c0f0b3
@ -602,6 +602,15 @@
|
|||||||
private function breakoutRoomNameLabelFunction(item:Object, column:DataGridColumn) : String {
|
private function breakoutRoomNameLabelFunction(item:Object, column:DataGridColumn) : String {
|
||||||
return ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room') + " " + item.sequence;
|
return ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room') + " " + item.sequence;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function breakoutRoomsToolTip(item:Object):String {
|
||||||
|
var room:BreakoutRoom = item as BreakoutRoom;
|
||||||
|
var names:Array = [];
|
||||||
|
for (var i:int = 0; i < room.users.length; i++) {
|
||||||
|
names.push(room.users.getItemAt(i)["name"]);
|
||||||
|
}
|
||||||
|
return names.join("\n");
|
||||||
|
}
|
||||||
]]>
|
]]>
|
||||||
</mx:Script>
|
</mx:Script>
|
||||||
|
|
||||||
@ -633,14 +642,20 @@
|
|||||||
text="..." toolTip="{ResourceUtil.getInstance().getString('bbb.users.breakout.timer.toolTip')}"/>
|
text="..." toolTip="{ResourceUtil.getInstance().getString('bbb.users.breakout.timer.toolTip')}"/>
|
||||||
</mx:HBox>
|
</mx:HBox>
|
||||||
|
|
||||||
<mx:DataGrid id="roomsGrid" editable="false" sortableColumns="false" dataProvider="{breakoutRoomsList}"
|
<mx:DataGrid id="roomsGrid" editable="false" sortableColumns="false"
|
||||||
|
dataProvider="{breakoutRoomsList}" dataTipFunction="breakoutRoomsToolTip"
|
||||||
dragEnabled="false" width="100%" height="100%" draggableColumns="false"
|
dragEnabled="false" width="100%" height="100%" draggableColumns="false"
|
||||||
accessibilityName="{ResourceUtil.getInstance().getString('bbb.users.breakout.breakoutRooms')}">
|
accessibilityName="{ResourceUtil.getInstance().getString('bbb.users.breakout.breakoutRooms')}">
|
||||||
<mx:columns>
|
<mx:columns>
|
||||||
<mx:DataGridColumn labelFunction="breakoutRoomNameLabelFunction" headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room')}" />
|
<mx:DataGridColumn labelFunction="breakoutRoomNameLabelFunction"
|
||||||
<mx:DataGridColumn dataField="numberOfUsers" headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.users')}"/>
|
showDataTips="true"
|
||||||
<mx:DataGridColumn dataField="meetingId" headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.action')}"
|
headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room')}" />
|
||||||
|
<mx:DataGridColumn dataField="numberOfUsers"
|
||||||
|
showDataTips="true"
|
||||||
|
headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.users')}"/>
|
||||||
|
<mx:DataGridColumn dataField="meetingId"
|
||||||
visible="{amIModerator}"
|
visible="{amIModerator}"
|
||||||
|
headerText="{ResourceUtil.getInstance().getString('bbb.users.roomsGrid.action')}"
|
||||||
itemRenderer="org.bigbluebutton.modules.users.views.RoomActionsRenderer"/>
|
itemRenderer="org.bigbluebutton.modules.users.views.RoomActionsRenderer"/>
|
||||||
</mx:columns>
|
</mx:columns>
|
||||||
</mx:DataGrid>
|
</mx:DataGrid>
|
||||||
|
Loading…
Reference in New Issue
Block a user