- display time remaining when meeting duration is not zero

This commit is contained in:
Richard Alam 2017-07-26 08:49:28 -07:00
parent f9d49b65e1
commit 67808fcb66
2 changed files with 6 additions and 0 deletions

View File

@ -784,6 +784,8 @@ bbb.lockSettings.feature=Feature
bbb.lockSettings.locked=Locked
bbb.lockSettings.lockOnJoin=Lock On Join
bbb.meeting.timeRemaining = Time remaining
bbb.users.breakout.breakoutRooms = Breakout Rooms
bbb.users.breakout.updateBreakoutRooms = Update Breakout Rooms
bbb.users.breakout.timer = <b>{0}</b>

View File

@ -193,6 +193,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function handleRemainingTimeUpdate(e:BreakoutRoomEvent):void {
if (! timeRemaining.visible) {
timeRemaining.visible = true;
timeRemainingLabel.visible = true;
}
TimerUtil.setCountDownTimer(timeRemaining, e.durationInMinutes);
}
@ -542,6 +543,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<mx:VRule styleName="toolbarSeparator" height="10" />
<mx:Label id="meetingNameLbl" minWidth="1" styleName="meetingNameLabelStyle" />
<mx:HBox id="addedBtns" width="100%" horizontalAlign="center"/>
<mx:Label id="timeRemainingLabel" visible="false"
text="{ResourceUtil.getInstance().getString('bbb.meeting.timeRemaining')}: "
toolTip="{ResourceUtil.getInstance().getString('bbb.meeting.timeRemaining')}"/>
<mx:Label id="timeRemaining" visible="false"
text="{ResourceUtil.getInstance().getString('bbb.users.breakout.calculatingRemainingTime')}"
toolTip="{ResourceUtil.getInstance().getString('bbb.users.breakout.timer.toolTip')}"/>