Skip to content

Commit

Permalink
chg: [chat explorer] improve basic chat card, add chat particpants bt…
Browse files Browse the repository at this point in the history
…n + improve btn css
  • Loading branch information
Terrtia committed Dec 16, 2024
1 parent ab54924 commit d7b9aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/www/templates/chats_explorer/basic_card_chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ <h4 class="text-secondary mb-0">
<span class="badge badge-info" style="font-size: 0.8rem;">
<i class="fas fa-user-circle"></i> Participants
</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>
{% if "nb_messages" in meta %}
<span class="badge badge-dark">
<span class="badge badge-info" style="font-size: 0.8rem;">
<i class="fas fa-user-circle"></i>
<i class="far fa-comment-dots"></i>
</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>
{% endif %}
</div>
Expand Down

0 comments on commit d7b9aa2

Please sign in to comment.