mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Added no unread conversations message
This commit is contained in:
		
							
								
								
									
										9
									
								
								assets/css/components/conversations/unreadDropdown.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								assets/css/components/conversations/unreadDropdown.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Unread conversations dropdown stylesheet
 | 
			
		||||
 *
 | 
			
		||||
 * @author Pierre HUBERT
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
.no-unread-conversation-msg {
 | 
			
		||||
	padding: 20px;
 | 
			
		||||
}
 | 
			
		||||
@@ -234,5 +234,18 @@ ComunicWeb.components.conversations.unreadDropdown = {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		//Display a specific message if there is not any new conversation
 | 
			
		||||
		if(conversations.length == 0){
 | 
			
		||||
 | 
			
		||||
			//Display a message in the target
 | 
			
		||||
			createElem2({
 | 
			
		||||
				appendTo: target,
 | 
			
		||||
				type: "p",
 | 
			
		||||
				class: "no-unread-conversation-msg",
 | 
			
		||||
				innerHTML: "You do not have any unread messages in the conversations you are following..."
 | 
			
		||||
			});
 | 
			
		||||
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	},
 | 
			
		||||
}
 | 
			
		||||
@@ -127,6 +127,7 @@ class Dev {
 | 
			
		||||
			"css/components/conversations/manager.css",
 | 
			
		||||
			"css/components/conversations/windows.css",
 | 
			
		||||
			"css/components/conversations/list.css",
 | 
			
		||||
			"css/components/conversations/unreadDropdown.css",
 | 
			
		||||
			
 | 
			
		||||
			//User selector stylesheet
 | 
			
		||||
			"css/components/userSelect/userSelect.css",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user