mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
9 lines
382 B
Plaintext
9 lines
382 B
Plaintext
.side_menu{ ng: { controller: 'sideMenuCtrl' } }
|
|
%a.menu_item{ href: "", id: "{{ item.name.toLowerCase().replace(' ', '_') }}",
|
|
ng: { repeat: '(index,item) in menu.items | filter:{visible:true}',
|
|
click: 'select(index)',
|
|
show: '!showItem || showItem(item)',
|
|
class: '{ selected: item.selected }' } }
|
|
%i{ class: "{{item.icon_class}}" }
|
|
%span {{ item.label }}
|