summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/customrecipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/customrecipe.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/customrecipe.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
index ea3c9c7324..aeb4466a20 100644
--- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
@@ -4,6 +4,7 @@
4{% load static %} 4{% load static %}
5{% block pagecontent %} 5{% block pagecontent %}
6 6
7{% with recipe.get_base_recipe_file as base_recipe_file %}
7<div class="section"> 8<div class="section">
8 <ul class="breadcrumb"> 9 <ul class="breadcrumb">
9 <li> 10 <li>
@@ -99,8 +100,15 @@
99 <a class="btn btn-large span6 build-custom-image" href="#" style="width: 50%"> 100 <a class="btn btn-large span6 build-custom-image" href="#" style="width: 50%">
100 Build {{recipe.name}} 101 Build {{recipe.name}}
101 </a> 102 </a>
102 <a href="{% url 'customrecipedownload' project.id recipe.id %}" class="btn btn-large span6" style="width: 50%"> 103 <a href="{% url 'customrecipedownload' project.id recipe.id %}" class="btn btn-large span6" style="width: 50%"
104 {% if not base_recipe_file %}
105 disabled="disabled"
106 {% endif %}>
103 Download recipe file 107 Download recipe file
108 {% if not base_recipe_file %}
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>
111 {% endif %}
104 </a> 112 </a>
105 </div> 113 </div>
106 <div id="no-results-special-{{table_name}}" class="air" style="display:none;"> 114 <div id="no-results-special-{{table_name}}" class="air" style="display:none;">
@@ -177,7 +185,9 @@
177 <dt>Recipe file</dt> 185 <dt>Recipe file</dt>
178 <dd> 186 <dd>
179 <code>{{recipe.name}}_{{recipe.version}}.bb</code> 187 <code>{{recipe.name}}_{{recipe.version}}.bb</code>
188 {% if base_recipe_path %}
180 <a href="{% url 'customrecipedownload' project.pk recipe.pk %}"><i class="icon-share" title="" data-original-title="View 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 %}
181 </dd> 191 </dd>
182 <dt>Layer</dt> 192 <dt>Layer</dt>
183 <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>
@@ -220,4 +230,5 @@
220 </div> 230 </div>
221 </div> 231 </div>
222 232
233{% endwith %}{# end base_recipe_file #}
223 {% endblock %} 234 {% endblock %}