diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 7 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/customrecipe.html | 8 |
2 files changed, 6 insertions, 9 deletions
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): | |||
495 | static_data_template=name_link_template) | 495 | static_data_template=name_link_template) |
496 | 496 | ||
497 | recipe_file_template = ''' | 497 | recipe_file_template = ''' |
498 | <code>{{data.name}}_{{data.version}}.bb</code> | ||
499 | {% if data.get_base_recipe_file %} | 498 | {% if data.get_base_recipe_file %} |
500 | <a href="{% url 'customrecipedownload' extra.pid data.pk %}"> | 499 | <code>{{data.name}}_{{data.version}}.bb</code> |
501 | <i class="icon-download-alt" data-original-title="Download recipe | 500 | <a href="{% url 'customrecipedownload' extra.pid data.pk %}" class="icon-download-alt get-help" title="Download recipe file"></a> |
502 | file"></i> | ||
503 | </a> | ||
504 | {% endif %}''' | 501 | {% endif %}''' |
505 | 502 | ||
506 | self.add_column(title="Recipe file", | 503 | 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 @@ | |||
107 | Download recipe file | 107 | Download recipe file |
108 | {% if not base_recipe_file %} | 108 | {% if not base_recipe_file %} |
109 | <i class="icon-question-sign get-help" | 109 | <i class="icon-question-sign get-help" |
110 | data-original-title="The {{recipe.name}} recipe cannot yet be downloaded as the Based on recipe '{{recipe.base_recipe.name}}' has not yet been fetched"></i> | 110 | data-original-title="The recipe file doesn't exist yet, so you cannot download it. You need to build your custom image first"></i> |
111 | {% endif %} | 111 | {% endif %} |
112 | </a> | 112 | </a> |
113 | </div> | 113 | </div> |
@@ -182,13 +182,13 @@ | |||
182 | </dd> | 182 | </dd> |
183 | {% endwith %} | 183 | {% endwith %} |
184 | {% endif %} | 184 | {% endif %} |
185 | {% if base_recipe_file %} | ||
185 | <dt>Recipe file</dt> | 186 | <dt>Recipe file</dt> |
186 | <dd> | 187 | <dd> |
187 | <code>{{recipe.name}}_{{recipe.version}}.bb</code> | 188 | <code>{{recipe.name}}_{{recipe.version}}.bb</code> |
188 | {% if base_recipe_path %} | 189 | <a href="{% url 'customrecipedownload' project.pk recipe.pk %}"><i class="icon-download-alt" title="Download recipe file"></i></a> |
189 | <a href="{% url 'customrecipedownload' project.pk recipe.pk %}"><i class="icon-share" title="" data-original-title="View recipe file"></i></a> | ||
190 | {% endif %} | ||
191 | </dd> | 190 | </dd> |
191 | {% endif %} | ||
192 | <dt>Layer</dt> | 192 | <dt>Layer</dt> |
193 | <dd><a href="{% url 'layerdetails' project.id recipe.layer_version.pk %}">{{recipe.layer_version.layer.name}}</a></dd> | 193 | <dd><a href="{% url 'layerdetails' project.id recipe.layer_version.pk %}">{{recipe.layer_version.layer.name}}</a></dd> |
194 | {% if recipe.summary %} | 194 | {% if recipe.summary %} |