up: various twig templates
* various twig updates
This commit is contained in:
@ -29,13 +29,12 @@
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
<li class="nav-item px-3 d-flex align-items-center" title="Site Settings">
|
||||
<a href="javascript:;" class="nav-link text-body p-0">
|
||||
<i class="material-symbols-rounded fixed-plugin-button-nav">settings</i>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="nav-item px-3 d-flex align-items-center" title="Site Settings">
|
||||
<a href="javascript:;" class="nav-link text-body p-0">
|
||||
<i class="material-symbols-rounded fixed-plugin-button-nav">settings</i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown pe-3 d-flex align-items-center" title="Notifications">
|
||||
<a href="javascript:;" class="nav-link text-body p-0 notification" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="material-symbols-rounded">notifications</i>
|
||||
@ -50,25 +49,25 @@
|
||||
{% if note.sender.imageName %}<img src='{{ user_image_path }}/{{ 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 %}
|
||||
{% if note.type == enum('App\\Enums\\System\\MessageType').CASE %}
|
||||
cases
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').STAFFING %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').STAFFING %}
|
||||
person
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').GENERAL %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').GENERAL %}
|
||||
chat_bubble
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').BILLING %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').BILLING %}
|
||||
local_atm
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').NEW_CASE %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').NEW_CASE %}
|
||||
business_center
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').USER %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').USER %}
|
||||
person_add
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').NEW_REFERRAL %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').NEW_REFERRAL %}
|
||||
add_to_queue
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').STAFF_NOTE %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').STAFF_NOTE %}
|
||||
add_notes
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').CALENDAR %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').CALENDAR %}
|
||||
calendar_month
|
||||
{% elseif note.type == enum('App\\Enums\\MessageType').REMINDER %}
|
||||
{% elseif note.type == enum('App\\Enums\\System\\MessageType').REMINDER %}
|
||||
notifications
|
||||
{% endif %}
|
||||
</i>
|
||||
@ -92,7 +91,11 @@
|
||||
</li>
|
||||
<li class="nav-item d-flex align-items-center" title="Profile">
|
||||
<a href="{{ path('app_profile') }}" class="nav-link text-body font-weight-bold px-0">
|
||||
<i class="material-symbols-rounded">account_circle</i>
|
||||
{% if app.user and app.user.imageName %}
|
||||
<img class='small-profile-image' src='{% if app.user.imageName %}{{ user_image_path }}/{{ app.user.imageName }}{% endif %}'/>
|
||||
{% else %}
|
||||
<i class="material-symbols-rounded">account_circle</i>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user