From 4a2a057130e877eae96d726bc86c6b9f48ed1ca3 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 8 Jun 2015 18:41:46 +0100 Subject: bitbake: toastergui: remove xhr_projectedit and xhr_projectinfo URLs This patch removes the xhr_projectedit and xhr_projectinfo URLs in favour of REST calls to the Project page. The project page takes now the POST requests to modify project settings. All usages of removed URLs are now changed to point to the project page, using the json format. The interface call specs have not modified. (Bitbake rev: 6ad3078bd2be1a8cda99040acaa9bb81d77f0013) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/base.html | 3 --- 1 file changed, 3 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/base.html') diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index e10dc11673..5d51bc3c95 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html @@ -34,13 +34,11 @@ projectsUrl : "{% url 'all-projects' %}", {% if project.id %} xhrProjectDataTypeaheadUrl : "{% url 'xhr_datatypeahead' project.id %}", - xhrProjectEditUrl : "{% url 'xhr_projectedit' project.id %}", projectPageUrl : "{% url 'project' project.id %}", projectName : "{{project.name}}", projectId : {{project.id}}, {% else %} xhrProjectDataTypeaheadUrl : undefined, - xhrProjectEditUrl : undefined, projectPageUrl : undefined, projectName : undefined, projectId : undefined, @@ -53,7 +51,6 @@ $(document).ready(function () { /* Vars needed for base.js */ var ctx = {}; - ctx.projectInfoUrl = "{% url 'xhr_projectinfo' %}"; ctx.numProjects = {{projects|length}}; ctx.currentUrl = "{{request.path|escapejs}}"; -- cgit v1.2.3-54-g00ecf