mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
merge
This commit is contained in:
commit
59d05d0640
2
menu.py
2
menu.py
@ -32,7 +32,7 @@ class Menu():
|
||||
def sort_items(self):
|
||||
"""Sort the items in self.items by order."""
|
||||
self.items = sorted(self.items, key=lambda x: x.order, reverse=False)
|
||||
def add_item(self, label, icon, url, order=50, basehref=True):
|
||||
def add_item(self, label, url, order=50, basehref=True):
|
||||
"""This method creates a menu item with the parameters, adds
|
||||
that menu item to this menu, and returns the item.
|
||||
|
||||
|
||||
1
modules/santiago.py
Symbolic link
1
modules/santiago.py
Symbolic link
@ -0,0 +1 @@
|
||||
installed/santiago/santiago.py
|
||||
Loading…
x
Reference in New Issue
Block a user