]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/webapp/backend/netboot.py
Slight changes on the database layout of the netboot feature.
[people/shoehn/ipfire.org.git] / www / webapp / backend / netboot.py
index f78094e9db054f80b3880fee88d9ebd0a6e2fe37..cd5b6b0c8828f56cf8f64bed34e03fb48fc39c0b 100644 (file)
@@ -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