summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_detail_base.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
index bce7fb2fa6..66f8e7f069 100644
--- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
+++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
@@ -133,19 +133,33 @@
133 {% endcomment %} 133 {% endcomment %}
134 {% endif %} 134 {% endif %}
135 </dd> 135 </dd>
136 {% if package.recipe.layer_version.branch %}
137 <dt> 136 <dt>
138 Layer branch 137 Layer branch
139 <span class="glyphicon glyphicon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></span> 138 <span class="glyphicon glyphicon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></span>
139 {%if package.recipe.layer_version.layer.local_source_dir %}
140 <dd>
141 <span class="text-muted">Not applicable</span>
142 <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no branch associated with it"></span>
143 </dd>
144 {% endif %}
140 </dt> 145 </dt>
146 {% if not package.recipe.layer_version.layer.local_source_dir %}
141 <dd>{{package.recipe.layer_version.branch}}</dd> 147 <dd>{{package.recipe.layer_version.branch}}</dd>
142 {% endif %} 148 {% endif %}
143 <dt> 149 <dt>
144 Layer commit 150 Layer commit
145 <span class="glyphicon glyphicon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></span> 151 <span class="glyphicon glyphicon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></span>
152 {%if package.recipe.layer_version.layer.local_source_dir %}
153 <dd>
154 <span class="text-muted">Not applicable</span>
155 <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no commit associated with it"></span>
156 </dd>
157 {% endif %}
146 </dt> 158 </dt>
147 159
160 {% if not package.recipe.layer_version.layer.local_source_dir %}
148 <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd> 161 <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd>
162 {% endif %}
149 163
150 </dl> 164 </dl>
151 <div> <!-- end well --> 165 <div> <!-- end well -->