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.

Signed-off-by: Belen Barros Pena <[email protected]>
---
 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)

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to