XOSAdminApp.updateNavigationPanel = function() {\r
buttonTemplate=$("#xos-navbutton").html();\r
assert(buttonTemplate != undefined, "buttonTemplate is undefined");\r
XOSAdminApp.updateNavigationPanel = function() {\r
buttonTemplate=$("#xos-navbutton").html();\r
assert(buttonTemplate != undefined, "buttonTemplate is undefined");\r
for (var index in NAV_OBJS) {\r
name = NAV_OBJS[index];\r
collection_name = name+"s";\r
for (var index in NAV_OBJS) {\r
name = NAV_OBJS[index];\r
collection_name = name+"s";\r
- html = html + _.template(buttonTemplate, {name: collection_name, router: "XOSAdminApp.Router", routeUrl: nav_url});\r
+ html = html + _.template(buttonTemplate, {name: collection_name, router: "XOSAdminApp.Router", routeUrl: nav_url, iconClass: icon_class});\r