mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	closes #5506
This commit is contained in:
		@@ -32,6 +32,7 @@
 | 
			
		||||
	"details.disableJoinRequests": "Disable join requests",
 | 
			
		||||
	"details.grant": "Grant/Rescind Ownership",
 | 
			
		||||
	"details.kick": "Kick",
 | 
			
		||||
	"details.kick_confirm": "Are you sure you want to remove this member from the group?",
 | 
			
		||||
 | 
			
		||||
	"details.owner_options": "Group Administration",
 | 
			
		||||
	"details.group_name": "Group Name",
 | 
			
		||||
 
 | 
			
		||||
@@ -75,6 +75,12 @@ define('forum/groups/details', [
 | 
			
		||||
				break;
 | 
			
		||||
 | 
			
		||||
			case 'kick':
 | 
			
		||||
				translator.translate('[[groups:details.kick_confirm]]', function (translated) {
 | 
			
		||||
					bootbox.confirm(translated, function (confirm) {
 | 
			
		||||
						if (!confirm) {
 | 
			
		||||
							return;
 | 
			
		||||
						}
 | 
			
		||||
 | 
			
		||||
						socket.emit('groups.kick', {
 | 
			
		||||
							uid: uid,
 | 
			
		||||
							groupName: groupName,
 | 
			
		||||
@@ -85,6 +91,8 @@ define('forum/groups/details', [
 | 
			
		||||
								app.alertError(err.message);
 | 
			
		||||
							}
 | 
			
		||||
						});
 | 
			
		||||
					});
 | 
			
		||||
				});
 | 
			
		||||
				break;
 | 
			
		||||
 | 
			
		||||
			case 'update':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user