diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-15 13:00:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 16:29:59 +0000 |
commit | ef93dce7e164e2b9ff764937d4365a9748a03c83 (patch) | |
tree | 4915d2124827962dea21f6ede49ddbf2165e8e5f /bitbake/lib/toaster/toastergui/urls.py | |
parent | 417f1d3f5306c668e30f2223048b542a46dd5d59 (diff) | |
download | poky-ef93dce7e164e2b9ff764937d4365a9748a03c83.tar.gz |
bitbake: toastergui: switch projects/ view to ToasterTable
Remove the old projects page and replace with the new
ToasterTable-based version.
NB although the projects.html template is no longer required,
it's been left in as there will be changes applied to it for
the new theme. These changes will have to then be transferred
from the projects.html template to projects-toastertable.html.
Similarly, the code for the projects page in views.py has been
retained.
[YOCTO #8738]
(Bitbake rev: ebe7831ef65e78a9d100f29a63311518577fc838)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index da97a31133..b5e9a0554d 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -74,14 +74,9 @@ urlpatterns = patterns('toastergui.views', | |||
74 | # project URLs | 74 | # project URLs |
75 | url(r'^newproject/$', 'newproject', name='newproject'), | 75 | url(r'^newproject/$', 'newproject', name='newproject'), |
76 | 76 | ||
77 | 77 | url(r'^projects/$', | |
78 | # TODO remove when new toaster table is ready | ||
79 | url(r'^projects/$', 'projects', name='all-projects'), | ||
80 | |||
81 | # TODO move to /projects/ when new toaster table is ready | ||
82 | url(r'^projects-new/$', | ||
83 | tables.ProjectsTable.as_view(template_name="projects-toastertable.html"), | 78 | tables.ProjectsTable.as_view(template_name="projects-toastertable.html"), |
84 | name='all-projects-new'), | 79 | name='all-projects'), |
85 | 80 | ||
86 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), | 81 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), |
87 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 82 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |