[UPDT] GENERAL: User profile get_method()

This commit is contained in:
Horilla
2023-11-29 11:15:46 +05:30
parent 8e463d5bc0
commit abc5b866ef

View File

@@ -446,7 +446,7 @@
<div class="oh-dropdown" x-data="{open: false}">
<div class="oh-navbar__user-info" @click="open = !open" @click.outside="open = false">
<div class="oh-navbar__user-photo">
<img src="/media/{{user.employee_get.employee_profile}}" class="oh-navbar__user-image" loading="lazy" />
<img src="{{request.user.employee_get.get_avatar}}" class="oh-navbar__user-image" loading="lazy" />
</div>
<span class="oh-navbar__user-name">{{user.employee_get.employee_first_name | title}}</span>
</div>