Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion templates/components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<button class="profile-button btn p-0 border-0 bg-transparent">
{{ render_silhouette() }}
{% if user.avatar_data %}
<img src="{{ url_for('get_avatar') }}" alt="User Avatar" class="d-inline-block align-top" width="30" height="30" style="border-radius: 50%;">
{% else %}
{{ render_silhouette() }}
{% endif %}
</button>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
Expand Down
6 changes: 5 additions & 1 deletion templates/users/organization.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ <h1 class="mb-4">{{ organization.name }}</h1>
{% for user in role.users %}
<tr>
<td class="text-center" style="width: 50px;">
{{ render_silhouette(width=40, height=40) }}
{% if user.avatar_data %}
<img src="{{ url_for('get_avatar') }}" alt="User Avatar" class="d-inline-block align-top" width="40" height="40" style="border-radius: 50%;">
{% else %}
{{ render_silhouette(width=40, height=40) }}
{% endif %}
</td>
<td>{{ user.name }}</td>
<td>{{ user.email }}</td>
Expand Down
Loading