From 5db6a27f4847e51c6434a968f81d3ceffcc54952 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 18 Feb 2015 15:18:51 +0000 Subject: [PATCH] bitbake: toaster: importlayer Remove description input field This wasn't required or working due to a typo and adds ambiguity between the summary and description. The correct method for changing the description or summary is via the layerdetails page. [YOCTO #7190] (Bitbake rev: 605298ff3ce919127003dadef95798472327f943) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/importlayer.js | 1 - bitbake/lib/toaster/toastergui/templates/importlayer.html | 6 ------ bitbake/lib/toaster/toastergui/views.py | 3 --- 3 files changed, 10 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/js/importlayer.js b/bitbake/lib/toaster/toastergui/static/js/importlayer.js index e782bda120..9d54286f4a 100644 --- a/bitbake/lib/toaster/toastergui/static/js/importlayer.js +++ b/bitbake/lib/toaster/toastergui/static/js/importlayer.js @@ -136,7 +136,6 @@ function importLayerPageInit (ctx) { name: layerNameInput.val(), vcs_url: vcsURLInput.val(), git_ref: gitRefInput.val(), - summary: $("#layer-summary").val(), dir_path: $("#layer-subdir").val(), project_id: ctx.projectId, layer_deps: layerDepsCsv, diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index a4d8ee1ebd..1196e0cf41 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html @@ -84,12 +84,6 @@ - - -
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index bf148e20fa..be74c10f6e 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2422,9 +2422,6 @@ if toastermain.settings.MANAGED: if layer_created: layer.layer_source = layer_source layer.vcs_url = post_data['vcs_url'] - if post_data.has_key('summary'): - layer.summary = layer.description = post_data['summary'] - layer.up_date = timezone.now() layer.save() else: