[Toaster] [PATCH] toaster: Have 'Version' next to recipe name

Belen Barros Pena belen.barros.pena at linux.intel.com
Tue Oct 13 06:54:24 PDT 2015


From: Belen Barros Pena <belen.barros.pena at intel.com>

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 at intel.com>
---
 bitbake/lib/toaster/toastergui/tables.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index b10445b..9c9cda4 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/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",
-- 
2.3.8 (Apple Git-58)



More information about the toaster mailing list