Added students to sidebar.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 17 Feb 2009 19:37:47 +0000
changeset 1380 e4235440897c
parent 1379 e6341549300c
child 1381 2cfce3831fc6
Added students to sidebar. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/sitemap/build.py
--- a/app/soc/views/sitemap/build.py	Tue Feb 17 19:37:24 2009 +0000
+++ b/app/soc/views/sitemap/build.py	Tue Feb 17 19:37:47 2009 +0000
@@ -39,6 +39,7 @@
 from soc.views.models import request
 from soc.views.models import site
 from soc.views.models import sponsor
+from soc.views.models import student
 from soc.views.models import timeline
 from soc.views.models import user
 from soc.views.models import user_self
@@ -67,6 +68,7 @@
 sidebar.addMenu(request.view.getSidebarMenus)
 sidebar.addMenu(program.view.getSidebarMenus)
 sidebar.addMenu(program.view.getExtraMenus)
+sidebar.addMenu(student.view.getSidebarMenus)
 sidebar.addMenu(organization.view.getSidebarMenus)
 sidebar.addMenu(organization.view.getExtraMenus)
 sidebar.addMenu(org_admin.view.getSidebarMenus)
@@ -88,6 +90,7 @@
 sitemap.addPages(request.view.getDjangoURLPatterns())
 sitemap.addPages(site.view.getDjangoURLPatterns())
 sitemap.addPages(sponsor.view.getDjangoURLPatterns())
+sitemap.addPages(student.view.getDjangoURLPatterns())
 sitemap.addPages(timeline.view.getDjangoURLPatterns())
 sitemap.addPages(user_self.view.getDjangoURLPatterns())
 sitemap.addPages(user.view.getDjangoURLPatterns())