Browse Source

- Also add the Me text for files

- Remove unused HTML
pull/863/head
Timothée Jaussoin 6 years ago
parent
commit
228f7a7b6b
  1. 8
      app/widgets/Chats/_chats_item.tpl

8
app/widgets/Chats/_chats_item.tpl

@ -67,10 +67,14 @@
{if="$message->isOTR()"}
<p><i class="material-icons">lock</i> {$c->__('message.encrypted')}</p>
{elseif="$message->file"}
<p><i class="material-icons">insert_drive_file</i> {$c->__('avatar.file')}</p>
<p>
{if="$message->jidfrom == $message->user_id"}
<span class="moderator">{$c->__('chats.me')}:</span>
{/if}
<i class="material-icons">insert_drive_file</i> {$c->__('avatar.file')}
</p>
{elseif="stripTags($message->body) != ''"}
<p class="line">
<span id="{$contact->jid|cleanupId}-chat-state"></span>
{if="$message->jidfrom == $message->user_id"}
<span class="moderator">{$c->__('chats.me')}:</span>
{/if}

Loading…
Cancel
Save