mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Show current conversation image
This commit is contained in:
parent
298c251e2f
commit
4fdb74d9d0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user