Skip to content

Commit

Permalink
(Feature) Adding id to user tooltip card (#16974)
Browse files Browse the repository at this point in the history
* Adding id to user tooltip card

* Replace id by login

* Remove duplicate

* Update src/DbUtils.php

* Update templates/components/user/info_card.html.twig

* Update templates/components/user/info_card.html.twig

Co-authored-by: Alexandre Delaunay <delaunay.alexandre@gmail.com>

---------

Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
Co-authored-by: Alexandre Delaunay <delaunay.alexandre@gmail.com>
  • Loading branch information
3 people committed Apr 25, 2024
1 parent afbfebf commit 72b2690
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/components/user/info_card.html.twig
Expand Up @@ -54,6 +54,12 @@
</h4>

<div class="text-muted">
{% if user['login'] is not empty %}
<div>
<i class="fa-fw fas fa-id-badge"></i>
{{ user['login'] }}
</div>
{% endif %}
{% if user['email']|length > 0 %}
<div>
<i class="fas fa-fw fa-envelope"></i>
Expand Down

0 comments on commit 72b2690

Please sign in to comment.