Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +4 -3
templates/menu.html
CHANGED
@@ -147,9 +147,10 @@
|
|
147 |
|
148 |
<!-- Avatar and Dropdown -->
|
149 |
<div class="avatar-dropdown-container">
|
150 |
-
|
151 |
-
|
152 |
-
|
|
|
153 |
<div class="dropdown-menu">
|
154 |
<!-- Direct links without grouping into columns -->
|
155 |
<a href="{{ url_for('customer_details') }}" class="dropdown-item">View Profile</a>
|
|
|
147 |
|
148 |
<!-- Avatar and Dropdown -->
|
149 |
<div class="avatar-dropdown-container">
|
150 |
+
<div class="avatar-icon">
|
151 |
+
<!-- Use the first letter of the user's name for the avatar -->
|
152 |
+
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
153 |
+
</div>
|
154 |
<div class="dropdown-menu">
|
155 |
<!-- Direct links without grouping into columns -->
|
156 |
<a href="{{ url_for('customer_details') }}" class="dropdown-item">View Profile</a>
|