mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-18 16:36:13 +00:00
chg: [chat explorer] improve basic chat card, add chat particpants btn + improve btn css
This commit is contained in:
parent
ab54924bba
commit
d7b9aa2dd2
1 changed files with 2 additions and 2 deletions
|
@ -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"] }} </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"] }} </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"] }} </a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue