summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/layerdetails.html
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-04-10 18:15:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-08 17:42:05 +0100
commited26a06a07a75c8039f2a9b251b350331c7474aa (patch)
treeebb2d88d75b51a856322c0a26ab89570a9954276 /bitbake/lib/toaster/toastergui/templates/layerdetails.html
parent4b59ba1bbb61fe60f500ad742a6515227b22397d (diff)
downloadpoky-ed26a06a07a75c8039f2a9b251b350331c7474aa.tar.gz
bitbake: toaster: Move project context variables to common scope
We have a bunch of context data which are used in multiple pages so it makes more sense to have this in a single place libtoaster.ctx that's accessible from each page rather than request it from every page. (Bitbake rev: 4ef2774a2f683929c700550a9acc7b8f6074195b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/layerdetails.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 0d3aa15373..435bf04e42 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -18,12 +18,7 @@
18 var ctx = { 18 var ctx = {
19 projectBuildUrl : "{% url 'xhr_build' %}", 19 projectBuildUrl : "{% url 'xhr_build' %}",
20 layerDetailsUrl : "{% url 'base_layerdetails' %}", 20 layerDetailsUrl : "{% url 'base_layerdetails' %}",
21 projectPageUrl : "{% url 'project' project.id %}",
22 xhrEditProjectUrl : "{% url 'xhr_projectedit' project.id %}",
23 xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}",
24 xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}", 21 xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}",
25 projectId : {{project.id}},
26 projectName : "{{project.name}}",
27 numTargets : {{total_targets}}, 22 numTargets : {{total_targets}},
28 numMachines: {{machines|length}}, 23 numMachines: {{machines|length}},
29 layerVersion : { 24 layerVersion : {