diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index caa2fba51a..2bbef637aa 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -495,12 +495,9 @@ class CustomImagesTable(ToasterTable): static_data_template=name_link_template) recipe_file_template = ''' - {{data.name}}_{{data.version}}.bb {% if data.get_base_recipe_file %} - - - + {{data.name}}_{{data.version}}.bb + {% endif %}''' self.add_column(title="Recipe file", diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html index aeb4466a20..4b1ef6617f 100644 --- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html +++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html @@ -107,7 +107,7 @@ Download recipe file {% if not base_recipe_file %} + data-original-title="The recipe file doesn't exist yet, so you cannot download it. You need to build your custom image first"> {% endif %} @@ -182,13 +182,13 @@ {% endwith %} {% endif %} + {% if base_recipe_file %}
Recipe file
{{recipe.name}}_{{recipe.version}}.bb - {% if base_recipe_path %} - - {% endif %} +
+ {% endif %}
Layer
{{recipe.layer_version.layer.name}}
{% if recipe.summary %}