mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Show current conversation image
This commit is contained in:
		@@ -95,6 +95,10 @@
 | 
			
		||||
	transform: translate(0, 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#conversationsElem .conversation-settings-pane .conversation-image-settings {
 | 
			
		||||
	text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#conversationsElem .conversation-settings-pane .conversation-image-settings .btn {
 | 
			
		||||
	margin: 5px;
 | 
			
		||||
	width: 100%;
 | 
			
		||||
 
 | 
			
		||||
@@ -730,10 +730,21 @@ const ConvChatWindow = {
 | 
			
		||||
				appendTo: settingsForm.rootElem,
 | 
			
		||||
				type: "div",
 | 
			
		||||
				class: "conversation-image-settings",
 | 
			
		||||
				innerHTML: "<br/><br/><p><strong>" + tr("Conversation image") + ": </strong></p>"
 | 
			
		||||
				innerHTML: "<br/><br/><p><strong>" + tr("Conversation image") + "</strong></p>"
 | 
			
		||||
			})
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			// Show current
 | 
			
		||||
			if (conversation.infos.logo != null) {
 | 
			
		||||
				createElem2({
 | 
			
		||||
					appendTo: convImageSection,
 | 
			
		||||
					type: "img",
 | 
			
		||||
					src: conversation.infos.logo,
 | 
			
		||||
					class: "current-image"
 | 
			
		||||
				})
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			// Upload a new logo
 | 
			
		||||
			const newConvImagebutton = createElem2({
 | 
			
		||||
				appendTo: convImageSection,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user