summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/importlayer.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/importlayer.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/importlayer.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/importlayer.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html
index 5ef8a5786c..c92b5d8b24 100644
--- a/bitbake/lib/toaster/toastergui/templates/importlayer.html
+++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html
@@ -13,12 +13,8 @@
13 <script> 13 <script>
14 $(document).ready(function (){ 14 $(document).ready(function (){
15 var ctx = { 15 var ctx = {
16 xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}",
17 layerDetailsUrl : "{% url 'base_layerdetails' %}", 16 layerDetailsUrl : "{% url 'base_layerdetails' %}",
18 xhrImportLayerUrl : "{% url 'xhr_importlayer' %}", 17 xhrImportLayerUrl : "{% url 'xhr_importlayer' %}",
19 xhrEditProjectUrl : "{% url 'xhr_projectedit' project.id %}",
20 projectPageUrl : "{% url 'project' project.id %}",
21 projectId : {{project.id}}
22 }; 18 };
23 19
24 try { 20 try {