Add fontawesome icon on sidebar menu
This commit is contained in:
parent
9f0ba0da22
commit
981a1041f0
@ -6,7 +6,7 @@
|
|||||||
% if any(role in item['roles'] for role in user_roles):
|
% if any(role in item['roles'] for role in user_roles):
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link text-white ${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}">
|
<a class="nav-link text-white ${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}">
|
||||||
${item['name']}
|
<i class="${item['icon']}"></i> ${item['name']}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
% endif
|
% endif
|
||||||
|
Loading…
Reference in New Issue
Block a user