chg: [chat explorer] improve basic chat card, add chat particpants btn + improve btn css
Some checks failed
CI / ail_test (3.8) (push) Has been cancelled
CI / ail_test (3.7) (push) Has been cancelled
CI / ail_test (3.10) (push) Has been cancelled
CI / ail_test (3.9) (push) Has been cancelled

This commit is contained in:
terrtia 2024-12-16 11:34:02 +01:00
parent ab54924bba
commit d7b9aa2dd2
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -77,7 +77,7 @@
<span class="badge badge-info" style="font-size: 0.8rem;"> <span class="badge badge-info" style="font-size: 0.8rem;">
<i class="fas fa-user-circle"></i> Participants <i class="fas fa-user-circle"></i> Participants
</span> </span>
{{meta["nb_participants"]}} <a class="btn btn-secondary border-white px-1 py-0" style="font-size: 0.8rem" href="{{ url_for('chats_explorer.chats_explorer_chat_participants')}}?type=chat&subtype={{ meta['subtype'] }}&id={{ meta['id'] }}" data-toggle="tooltip" title="Show Chat Participants">{{ meta["nb_participants"] }}&nbsp;&nbsp;</a>
</span> </span>
{% if "nb_messages" in meta %} {% if "nb_messages" in meta %}
<span class="badge badge-dark"> <span class="badge badge-dark">
@ -85,7 +85,7 @@
<i class="fas fa-user-circle"></i> <i class="fas fa-user-circle"></i>
<i class="far fa-comment-dots"></i> <i class="far fa-comment-dots"></i>
</span> </span>
<a class="badge-primary px-1 py-0" href="{{ url_for('chats_explorer.objects_user_account_chat') }}?subtype={{ meta['subtype'] }}&id={{ main_obj_id }}&chat_id={{ meta['id'] }}">{{ meta["nb_messages"] }}&nbsp;&nbsp;</a> <a class="btn btn-primary border-white px-1 py-0" style="font-size: 0.8rem" href="{{ url_for('chats_explorer.objects_user_account_chat') }}?subtype={{ meta['subtype'] }}&id={{ main_obj_id }}&chat_id={{ meta['id'] }}" data-toggle="tooltip" title="Show User Messages">{{ meta["nb_messages"] }}&nbsp;&nbsp;</a>
</span> </span>
{% endif %} {% endif %}
</div> </div>