summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-10-14 13:20:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-16 14:05:17 +0100
commitb5af7084b28158a8a9eaf78db463555ae8e0f620 (patch)
tree25b928f0aeb1dead542838d99d91d4eff99ca41c
parent6167ee5a7569d8f841c340e672645cc133ea5a31 (diff)
downloadbitbake-b5af7084b28158a8a9eaf78db463555ae8e0f620.tar.gz
toaster: Have 'Version' next to recipe name
In all Toaster tables we show the version next to the recipe or package names, with one exception: the recipes table in the layer details page, where we are showing the version next to the recipe description. This patch moves the version column next to the recipe name, for consistency with all other Toaster tables. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/tables.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/tables.py b/lib/toaster/toastergui/tables.py
index b10445b00..9c9cda4e9 100644
--- a/lib/toaster/toastergui/tables.py
+++ b/lib/toaster/toastergui/tables.py
@@ -432,12 +432,12 @@ class LayerRecipesTable(RecipesTable):
orderable=True,
field_name="name")
- self.add_column(title="Description",
- field_name="get_description_or_summary")
-
self.add_column(title="Version",
field_name="version")
+ self.add_column(title="Description",
+ field_name="get_description_or_summary")
+
build_recipe_template ='<button class="btn btn-block build-recipe-btn" data-recipe-name="{{data.name}}" {%if extra.in_prj == 0 %}disabled="disabled"{%endif%}>Build recipe</button>'
self.add_column(title="Build recipe",