mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Clean up away icon logic in messageTypes.tpl
Co-authored-by: Maximilian Mader <max@bastelstu.be>
This commit is contained in:
parent
4bbd89d474
commit
baeb850d45
@ -164,7 +164,13 @@
|
||||
</small>
|
||||
</div>
|
||||
<span class="chatMessageIcon">
|
||||
<span class="icon icon16 {if $__window.RegExp('^shower(?:ing)?$', 'i').test($message.payload.message)}fa-shower{else if $__window.RegExp('^bath(?:ing)?$', 'i').test($message.payload.message)}fa-bath{else}fa-user-o{/if}"></span>
|
||||
{if $__window.RegExp('^shower(?:ing)?$', 'i').test($message.payload.message)}
|
||||
<span class="icon icon16 fa-shower"></span>
|
||||
{else if $__window.RegExp('^bath(?:ing)?$', 'i').test($message.payload.message)}
|
||||
<span class="icon icon16 fa-bath"></span>
|
||||
{else}
|
||||
<span class="icon icon16 fa-user-o"></span>
|
||||
{/if}
|
||||
</span>
|
||||
<div class="chatMessage">{lang}chat.messageType.{$message.objectType}{/lang}</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user