From 6f924f394acda5e79f5377f4aab8fb6cb052545a Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 28 Apr 2016 13:45:17 +0100 Subject: bitbake: toaster: tweaks to recipe file downloads * In the custom images table, show the recipe file and download icon only when the recipe file exists and can be downloaded. * Also in the custom images table, make sure the download icon tooltip shows on hover. * In the custom image details page, show the correct icon (download) next to the recipe file in the right hand column. * In the custom image details page, show the recipe file and download icon in the right hand column only when the recipe file exists and can be downloaded * Also in the custom image details page, simplify the help text we show when the 'download' button is disabled: it gave so much information about what's actually happening under the hood that it was a bit hard to follow. (Bitbake rev: 5d4172bc005efe209de595f6a151ae9ed062d051) Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/customrecipe.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates') 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 %} -- cgit v1.2.3-54-g00ecf