Browse Source

add recording flag icon and show it in the channel viewer

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
1a09a0ec31
  1. BIN
      pyweb/mumble/media/img/recording.png
  2. 1
      pyweb/mumble/media/js/channelviewer.js

BIN
pyweb/mumble/media/img/recording.png

After

Width: 16  |  Height: 16  |  Size: 790 B

1
pyweb/mumble/media/js/channelviewer.js

@ -43,6 +43,7 @@ Ext.ux.MumbleUserNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
if( a.userdata.mute ) icons.push( "muted_server" ); if( a.userdata.mute ) icons.push( "muted_server" );
if( a.userdata.comment != "" ) icons.push( "comment_seen" ); if( a.userdata.comment != "" ) icons.push( "comment_seen" );
if( a.userdata.prioritySpeaker ) icons.push( "priority_speaker" ); if( a.userdata.prioritySpeaker ) icons.push( "priority_speaker" );
if( a.userdata.recording ) icons.push( "recording" );
var pos = 8; var pos = 8;
for( var i = 0; i < icons.length; i++ ){ for( var i = 0; i < icons.length; i++ ){
tpl.append( this.elNode, {'imageurl': a.imageurl, 'icon': icons[i], 'pos': pos} ); tpl.append( this.elNode, {'imageurl': a.imageurl, 'icon': icons[i], 'pos': pos} );

Loading…
Cancel
Save