Skip to contentSkip to conversation

toaster: Have 'Version' next to recipe name

PATCH New Elliot Smith 1 participant 1 message Oct 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: Have 'Version' next to recipe name

From: Belen Barros Pena <[email protected]>

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.

---
 bitbake/lib/toaster/toastergui/tables.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
bitbake/lib/toaster/toastergui/tables.py +3 -3
index b10445b..9c9cda4 100644
@@ -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",
Signature · 12 lines
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.