From: Michael Tremer Date: Fri, 17 Dec 2010 10:19:42 +0000 (+0100) Subject: Slight changes on the database layout of the netboot feature. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd852409ecc7d4793dc9dc6c691ce818e6f6e603;p=ipfire.org.git Slight changes on the database layout of the netboot feature. --- diff --git a/www/webapp/backend/netboot.py b/www/webapp/backend/netboot.py index f78094e9..cd5b6b0c 100644 --- a/www/webapp/backend/netboot.py +++ b/www/webapp/backend/netboot.py @@ -52,6 +52,9 @@ class NetBoot(object): if m.type == "header": m.submenu = self.get_menu(m.submenu_level) + elif m.type == "config": + m._data.update(self.db.get("SELECT title, description FROM boot WHERE id = %s" % m.item)) + menu.append(m) return menu