File tree 1 file changed +9
-7
lines changed
src/unfold/templates/unfold/helpers
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
{% load unfold i18n %}
2
2
3
3
< div class ="flex flex-row grow font-semibold items-center min-w-0 mr-3 ">
4
- < span class ="cursor-pointer flex flex-row items-center ">
5
- < span class ="material-symbols-outlined hidden! xl:block! " hx-get ="{% url "admin:toggle_sidebar " %}" hx-swap="none " x-on:click ="sidebarDesktopOpen = !sidebarDesktopOpen ">
6
- dock_to_right
7
- </ span >
4
+ {% if is_nav_sidebar_enabled %}
5
+ < span class ="cursor-pointer flex flex-row items-center ">
6
+ < span class ="material-symbols-outlined hidden! xl:block! " hx-get ="{% url "admin:toggle_sidebar " %}" hx-swap="none " x-on:click ="sidebarDesktopOpen = !sidebarDesktopOpen ">
7
+ dock_to_right
8
+ </ span >
8
9
9
- < span class ="material-symbols-outlined block! xl:hidden! " x-on:click ="sidebarMobileOpen = !sidebarMobileOpen ">
10
- dock_to_right
10
+ < span class ="material-symbols-outlined block! xl:hidden! " x-on:click ="sidebarMobileOpen = !sidebarMobileOpen ">
11
+ dock_to_right
12
+ </ span >
11
13
</ span >
12
- </ span >
14
+ {% endif %}
13
15
14
16
< span class ="block bg-base-200 h-5 mx-3 w-px dark:bg-base-700 "> </ span >
15
17
You can’t perform that action at this time.
0 commit comments