nagasurendra commited on
Commit
c8c1784
·
verified ·
1 Parent(s): 1c7e537

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. 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
- <div class="avatar-icon">
151
- <span>A</span>
152
- </div>
 
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>