notes to self (ui)

This commit is contained in:
nnduc
2026-10-29 13:31:09 +07:00
parent 5f37fcfe7a
commit bcaddcbcbb
@@ -7,10 +7,10 @@
<span class="primary icon bubble {% if contact.presence %}status {{ contact.presence }}{% endif %}"> <span class="primary icon bubble {% if contact.presence %}status {{ contact.presence }}{% endif %}">
<img src="{{ contact.picture }}"> <img src="{{ contact.picture }}">
</span> </span>
<span class="control icon active divided" onclick="Search.chat('{{ contact.id|echapJS }}', false); Drawer.clear();">
<i class="material-symbols">comment</i>
</span>
{% if not mine %} {% if not mine %}
<span class="control icon active divided" onclick="Search.chat('{{ contact.id|echapJS }}', false); Drawer.clear();">
<i class="material-symbols">comment</i>
</span>
{% if call_audio %} {% if call_audio %}
<span title="{{ __('button.audio_call') }}" class="control icon active" <span title="{{ __('button.audio_call') }}" class="control icon active"
onclick="Visio_ajaxGetLobby('{{ call_audio|echapJS }}', true); Drawer.clear();"> onclick="Visio_ajaxGetLobby('{{ call_audio|echapJS }}', true); Drawer.clear();">
@@ -77,9 +77,9 @@
</li> </li>
</ul> </ul>
{% if not mine %}
<ul class="list middle active"> <ul class="list middle active">
{% if contact.in_roster %} {% if mine %}
{% elif contact.in_roster %}
<li onclick="Notifications_ajaxEditContact('{{ contact.id|echapJS }}'); Drawer.clear();"> <li onclick="Notifications_ajaxEditContact('{{ contact.id|echapJS }}'); Drawer.clear();">
<span class="primary icon gray"> <span class="primary icon gray">
<i class="material-symbols">edit</i> <i class="material-symbols">edit</i>
@@ -106,7 +106,8 @@
</div> </div>
</li> </li>
{% endif %} {% endif %}
{% if contact.blocked %} {% if mine %}
{% elif contact.blocked %}
<li onclick="ContactActions_ajaxUnblock('{{ contact.id|echapJS }}'); Drawer.clear();"> <li onclick="ContactActions_ajaxUnblock('{{ contact.id|echapJS }}'); Drawer.clear();">
<span class="primary icon green"> <span class="primary icon green">
<i class="material-symbols">cancel</i> <i class="material-symbols">cancel</i>
@@ -144,7 +145,6 @@
</li> </li>
{% endif %} {% endif %}
</ul> </ul>
{% endif %}
{% if resources %} {% if resources %}
<ul class="list middle"> <ul class="list middle">