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
1 changed files with 5 additions and 1 deletions

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>