summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2015-02-17 21:54:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-20 12:58:19 +0000
commit64fc177299149376978a9e89eddcf0a9dc846a7e (patch)
treeaa5b2a639e19718d9cd416b9a8accb5f1b2b9c71 /bitbake/lib/toaster/toastergui/views.py
parentc856a4efc95ab3031d9f3ee197ed54515df0fee6 (diff)
downloadpoky-64fc177299149376978a9e89eddcf0a9dc846a7e.tar.gz
bitbake: toaster: landing page when no build module
Add landing page for managed build pages when build module not installed. Some wording and whitespace changed. [YOCTO #6483] (Bitbake rev: 6618a0a71cc9ea5426238549094ab9e05ae61649) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index a2e92068c5..70241dc28b 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -3290,64 +3290,64 @@ else:
3290 3290
3291 3291
3292 def newproject(request): 3292 def newproject(request):
3293 raise Exception("page not available in interactive mode") 3293 return render(request, 'landing_not_managed.html')
3294 3294
3295 def project(request, pid): 3295 def project(request, pid):
3296 raise Exception("page not available in interactive mode") 3296 return render(request, 'landing_not_managed.html')
3297 3297
3298 def xhr_projectbuild(request, pid): 3298 def xhr_projectbuild(request, pid):
3299 raise Exception("page not available in interactive mode") 3299 return render(request, 'landing_not_managed.html')
3300 3300
3301 def xhr_build(request, pid): 3301 def xhr_build(request, pid):
3302 raise Exception("page not available in interactive mode") 3302 return render(request, 'landing_not_managed.html')
3303 3303
3304 def xhr_projectinfo(request): 3304 def xhr_projectinfo(request):
3305 raise Exception("page not available in interactive mode") 3305 return render(request, 'landing_not_managed.html')
3306 3306
3307 def xhr_projectedit(request, pid): 3307 def xhr_projectedit(request, pid):
3308 raise Exception("page not available in interactive mode") 3308 return render(request, 'landing_not_managed.html')
3309 3309
3310 def xhr_datatypeahead(request): 3310 def xhr_datatypeahead(request):
3311 raise Exception("page not available in interactive mode") 3311 return render(request, 'landing_not_managed.html')
3312 3312
3313 def xhr_configvaredit(request): 3313 def xhr_configvaredit(request):
3314 raise Exception("page not available in interactive mode") 3314 return render(request, 'landing_not_managed.html')
3315 3315
3316 def importlayer(request): 3316 def importlayer(request):
3317 raise Exception("page not available in interactive mode") 3317 return render(request, 'landing_not_managed.html')
3318 3318
3319 def layers(request): 3319 def layers(request):
3320 raise Exception("page not available in interactive mode") 3320 return render(request, 'landing_not_managed.html')
3321 3321
3322 def layerdetails(request): 3322 def layerdetails(request):
3323 raise Exception("page not available in interactive mode") 3323 return render(request, 'landing_not_managed.html')
3324 3324
3325 def targets(request): 3325 def targets(request):
3326 raise Exception("page not available in interactive mode") 3326 return render(request, 'landing_not_managed.html')
3327 3327
3328 def targetdetails(request): 3328 def targetdetails(request):
3329 raise Exception("page not available in interactive mode") 3329 return render(request, 'landing_not_managed.html')
3330 3330
3331 def machines(request): 3331 def machines(request):
3332 raise Exception("page not available in interactive mode") 3332 return render(request, 'landing_not_managed.html')
3333 3333
3334 def projectconf(request): 3334 def projectconf(request):
3335 raise Exception("page not available in interactive mode") 3335 return render(request, 'landing_not_managed.html')
3336 3336
3337 def projectbuilds(request): 3337 def projectbuilds(request):
3338 raise Exception("page not available in interactive mode") 3338 return render(request, 'landing_not_managed.html')
3339 3339
3340 def build_artifact(request, build_id, artifact_type, artifact_id): 3340 def build_artifact(request, build_id, artifact_type, artifact_id):
3341 raise Exception("page not available in interactive mode") 3341 return render(request, 'landing_not_managed.html')
3342 3342
3343 def projects(request): 3343 def projects(request):
3344 raise Exception("page not available in interactive mode") 3344 return render(request, 'landing_not_managed.html')
3345 3345
3346 def xhr_importlayer(request): 3346 def xhr_importlayer(request):
3347 raise Exception("page not available in interactive mode") 3347 return render(request, 'landing_not_managed.html')
3348 3348
3349 def xhr_updatelayer(request): 3349 def xhr_updatelayer(request):
3350 raise Exception("page not available in interactive mode") 3350 return render(request, 'landing_not_managed.html')
3351 3351
3352 def buildrequestdetails(request, pid, brid): 3352 def buildrequestdetails(request, pid, brid):
3353 raise Exception("page not available in interactive mode") 3353 return render(request, 'landing_not_managed.html')