mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Show current conversation image
This commit is contained in:
parent
298c251e2f
commit
4fdb74d9d0
@ -95,6 +95,10 @@
|
|||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#conversationsElem .conversation-settings-pane .conversation-image-settings {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
#conversationsElem .conversation-settings-pane .conversation-image-settings .btn {
|
#conversationsElem .conversation-settings-pane .conversation-image-settings .btn {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -730,10 +730,21 @@ const ConvChatWindow = {
|
|||||||
appendTo: settingsForm.rootElem,
|
appendTo: settingsForm.rootElem,
|
||||||
type: "div",
|
type: "div",
|
||||||
class: "conversation-image-settings",
|
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
|
// Upload a new logo
|
||||||
const newConvImagebutton = createElem2({
|
const newConvImagebutton = createElem2({
|
||||||
appendTo: convImageSection,
|
appendTo: convImageSection,
|
||||||
|
Loading…
Reference in New Issue
Block a user