mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	| @@ -1231,7 +1231,11 @@ RED.editor = (function() { | ||||
|                 }) | ||||
|  | ||||
|                 if (node_def.hasUsers !== false) { | ||||
|                     $('<span><i class="fa fa-info-circle"></i> <span id="red-ui-editor-config-user-count"></span></span>').css("margin-left", "10px").appendTo(trayFooterLeft); | ||||
|                     // $('<span><i class="fa fa-info-circle"></i> <span id="red-ui-editor-config-user-count"></span></span>').css("margin-left", "10px").appendTo(trayFooterLeft); | ||||
|                     $('<button type="button" class="red-ui-button"><i class="fa fa-user"></i><span id="red-ui-editor-config-user-count"></span></button>').on('click', function() { | ||||
|                         RED.sidebar.info.outliner.search('uses:'+editing_config_node.id) | ||||
|                         RED.sidebar.info.show() | ||||
|                     }).appendTo(trayFooterLeft); | ||||
|                 } | ||||
|                 trayFooter.append('<span class="red-ui-tray-footer-right"><span id="red-ui-editor-config-scope-warning" data-i18n="[title]editor.errors.scopeChange"><i class="fa fa-warning"></i></span><select id="red-ui-editor-config-scope"></select></span>'); | ||||
|  | ||||
| @@ -1289,7 +1293,8 @@ RED.editor = (function() { | ||||
|                         }); | ||||
|                     } | ||||
|                     if (node_def.hasUsers !== false) { | ||||
|                         $("#red-ui-editor-config-user-count").text(RED._("editor.nodesUse", {count:editing_config_node.users.length})).parent().show(); | ||||
|                         $("#red-ui-editor-config-user-count").text(editing_config_node.users.length).parent().show(); | ||||
|                         RED.popover.tooltip($("#red-ui-editor-config-user-count").parent(), function() { return RED._('editor.nodesUse',{count:editing_config_node.users.length})}); | ||||
|                     } | ||||
|                     trayBody.i18n(); | ||||
|                     trayFooter.i18n(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user