add icon and user profile image for message type and sender
This commit is contained in:
parent
83a886c134
commit
ec487ed1ac
@ -47,7 +47,31 @@
|
||||
<a class='dropdown-item border-radius-md' href="javascript:openNotification('{{ note.id }}');">
|
||||
<div class='d-flex py-1'>
|
||||
<div class='my-auto'>
|
||||
<img src='' class='avatar avatar-sm me-3'>
|
||||
{% if note.sender.imageName %}<img src='/uploads/user_images/{{ note.sender.imageName }}' class='avatar avatar-sm me-3'><br/>
|
||||
{% endif %}
|
||||
<i class='material-symbols-rounded opacity-7'>
|
||||
{% if note.type == enum('App\\Enums\\MessageType').CASE %}
|
||||
cases
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').STAFFING %}
|
||||
person
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').GENERAL %}
|
||||
chat_bubble
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').BILLING %}
|
||||
local_atm
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').NEW_CASE %}
|
||||
business_center
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').USER %}
|
||||
person_add
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').NEW_REFERRAL %}
|
||||
add_to_queue
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').STAFF_NOTE %}
|
||||
add_notes
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').CALENDAR %}
|
||||
calendar_month
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').REMINDER %}
|
||||
notifications
|
||||
{% endif %}
|
||||
</i>
|
||||
</div>
|
||||
<div class='d-flex flex-column justify-content-center'>
|
||||
<h6 class='text-sm font-weight-normal mb-1'>
|
||||
|
Loading…
Reference in New Issue
Block a user