File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 33
33
<ul class =" sidebar-nav nav-stacked" id =" ocify-menu" >
34
34
{% for group_key ,group in getInteractiveMenus() %}
35
35
<li class =" sidebar-group {{ group .active ? ' active' }}" >
36
- <a class =" sidebar-group-link" title =" {{ group .title }}" data-toggle =" collapse" data-target =" #{{ group_key }}M"
36
+ <a class =" sidebar-group-link" title =" {{ group .title }}" data-toggle =" collapse"
37
+ data-target =" #{{ group_key }}M"
37
38
aria-expanded =" {{ group .active ? ' true' : ' false' }}" >
38
39
<span >
39
40
<span class =" icon" >
40
- {{ img(group .icon ).data| raw }}
41
+ {% if group .icon %}
42
+ {{ img(group .icon ).data| raw }}
43
+ {% endif %}
41
44
</span >
42
45
<span class =" title" >{{ group .title }}</span >
43
46
</span >
44
47
<i class =" fa fa-chevron-down chevron" ></i >
45
48
</a >
46
- <div class =" collapse {{ group .active ? ' in' }} group-sublist" id =" {{ group_key }}M" aria-expanded =" false" >
49
+ <div class =" collapse {{ group .active ? ' in' }} group-sublist" id =" {{ group_key }}M"
50
+ aria-expanded =" false" >
47
51
<ul class =" nav-stacked sidebar-items" >
48
52
{% for addon_key ,addon in group .addons %}
49
53
<li class =" nav-item sidebar-addon {{ addon .active ? ' active' }}" >
58
62
</span >
59
63
<i class =" fa fa-chevron-down" ></i >
60
64
</a >
61
- <div class =" sidebar-sublist collapse {{ addon .active ? ' in' }} ml-2" id =" {{ addon_key }}" aria-expanded =" false" >
65
+ <div class =" sidebar-sublist collapse {{ addon .active ? ' in' }} ml-2"
66
+ id =" {{ addon_key }}" aria-expanded =" false" >
62
67
<ul class =" flex-column nav" >
63
68
{% for section in addon .sections %}
64
69
<li class =" sub-item {{ section .active ? ' active' }}" >
You can’t perform that action at this time.
0 commit comments