mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix design of Message::TYPE_INFORMATION
This commit is contained in:
parent
6fe4e76429
commit
992e794006
@ -6,7 +6,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<div class="innerMessageContainer{if $message.type == $messageTypes.NORMAL || $message.type == $messageTypes.WHISPER || $message.type == $messageTypes.INFORMATION || $message.type == $messageTypes.ATTACHMENT} bubble{/if}{if $message.type == $messageTypes.WHISPER && $message.sender != $__wcf.User.userID} right{/if}">
|
<div class="innerMessageContainer{if $message.type == $messageTypes.NORMAL || $message.type == $messageTypes.WHISPER || $message.type == $messageTypes.INFORMATION || $message.type == $messageTypes.ATTACHMENT} bubble{/if}{if $message.type == $messageTypes.WHISPER && $message.sender != $__wcf.User.userID} right{/if}">
|
||||||
<div class="avatarContainer">
|
<div class="avatarContainer">
|
||||||
<div class="userAvatar framed">
|
<div class="userAvatar{if $message.type != $messageTypes.INFORMATION} framed{/if}">
|
||||||
{if $message.type != $messageTypes.INFORMATION}
|
{if $message.type != $messageTypes.INFORMATION}
|
||||||
{if $message.type == $messageTypes.NORMAL || $message.type == $messageTypes.WHISPER || $message.type == $messageTypes.ATTACHMENT}
|
{if $message.type == $messageTypes.NORMAL || $message.type == $messageTypes.WHISPER || $message.type == $messageTypes.ATTACHMENT}
|
||||||
{@$message.avatar[32]}
|
{@$message.avatar[32]}
|
||||||
@ -52,7 +52,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{else}
|
{else}
|
||||||
<span class="text">{@$message.formattedMessage}</span>
|
<div class="text">{@$message.formattedMessage}</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<span class="markContainer">
|
<span class="markContainer">
|
||||||
|
Loading…
Reference in New Issue
Block a user