aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html
index bf2cd7169ac..36c5281eb72 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -75,7 +75,7 @@
recipe"></span>
Layer branch
</dt>
- {% if layer_version.layer.local_source_dir %}
+ {% if layer_version.layer.local_source_dir or not layer_version.layer.branch %}
<dd>
<span class="text-muted">Not applicable</span>
<span class="glyphicon glyphicon-question-sign get-help" title="The source
@@ -90,7 +90,7 @@
commit of the layer providing the recipe"></span>
Layer commit
</dt>
- {% if layer_version.layer.local_source_dir %}
+ {% if layer_version.layer.local_source_dir or not layer_version.layer.commit %}
<dd>
<span class="text-muted">Not applicable</span>
<span class="glyphicon glyphicon-question-sign get-help" title="The source