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 @@ {% endcomment %} {% endif %} - {% if package.recipe.layer_version.branch %}
Layer branch + {%if package.recipe.layer_version.layer.local_source_dir %} +
+ Not applicable + +
+ {% endif %} + {% if not package.recipe.layer_version.layer.local_source_dir %}
{{package.recipe.layer_version.branch}}
- {% endif %} + {% endif %}
Layer commit + {%if package.recipe.layer_version.layer.local_source_dir %} +
+ Not applicable + +
+ {% endif %} + {% if not package.recipe.layer_version.layer.local_source_dir %}
{{package.recipe.layer_version.commit}}
+ {% endif %}