In the custom recipe details page, add the missing if statement in the
right hand column so that recipe files are only shown if they exist.

Signed-off-by: Belen Barros Pena <[email protected]>
---
 bitbake/lib/toaster/toastergui/templates/customrecipe.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html 
b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
index b0f3278..fa76c8a 100644
--- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
@@ -193,6 +193,7 @@
           </dd>
           {% endwith %}
           {% endif %}
+          {% if base_recipe_file %}
           <dt>Recipe file</dt>
           <dd>
           <code>{{recipe.name}}_{{recipe.version}}.bb</code>
-- 
1.9.1

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

Reply via email to