clear messages
This commit is contained in:
@@ -173,6 +173,16 @@
|
||||
<p class="line">{{ __('chat.clear_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% if cleared %}
|
||||
<li onclick="Chat_ajaxRestoreHistory('{{ jid|echapJS }}')">
|
||||
<span class="primary icon gray">
|
||||
<i class="material-symbols">history</i>
|
||||
</span>
|
||||
<div>
|
||||
<p class="line">{{ __('chat.restore_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
<li onclick="Rooms_ajaxExit('{{ jid|echapJS }}');">
|
||||
<span class="primary icon gray">
|
||||
@@ -272,6 +282,16 @@
|
||||
<p class="line">{{ __('chat.clear_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% if cleared %}
|
||||
<li onclick="Chat_ajaxRestoreHistory('{{ contact.id|echapJS }}')">
|
||||
<span class="primary icon gray">
|
||||
<i class="material-symbols">history</i>
|
||||
</span>
|
||||
<div>
|
||||
<p class="line">{{ __('chat.restore_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<hr />
|
||||
{% if contact.blocked %}
|
||||
<li onclick="ChatActions_ajaxUnblock('{{ contact.id|echapJS }}')">
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
<p class="line">{{ __('chat.clear_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% if cleared %}
|
||||
<li onclick="Chat_ajaxRestoreHistory('{{ contact.id|echapJS }}')">
|
||||
<span class="primary icon gray">
|
||||
<i class="material-symbols">history</i>
|
||||
</span>
|
||||
<div>
|
||||
<p class="line">{{ __('chat.restore_history') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user