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

Clean up join/leave icon logic in messageTypes.tpl

Co-authored-by: Maximilian Mader <max@bastelstu.be>
This commit is contained in:
Tim Düsterhus 2024-01-13 20:53:05 +01:00
parent baeb850d45
commit ea373ef390
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

@ -256,7 +256,11 @@
</small>
</div>
<span class="chatMessageIcon">
<span class="icon icon16 fa-sign-{if $message.objectType === 'be.bastelstu.chat.messageType.join'}in{else}out{/if}"></span>
{if $message.objectType === 'be.bastelstu.chat.messageType.join'}
<span class="icon icon16 fa-sign-in"></span>
{else}
<span class="icon icon16 fa-sign-out"></span>
{/if}
</span>
<div class="chatMessage">{lang}chat.messageType.{$message.objectType}{/lang}</div>
</div>