1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Fix design of Message::TYPE_INFORMATION

This commit is contained in:
Tim Düsterhus 2013-11-19 21:16:15 +01:00
parent 6fe4e76429
commit 992e794006

View File

@ -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">