diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/recipe.html | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index 97e7b99842..bf2cd7169a 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html | |||
| @@ -69,21 +69,37 @@ | |||
| 69 | Recipe file | 69 | Recipe file |
| 70 | </dt> | 70 | </dt> |
| 71 | <dd><code>{{object.file_path}} {% if object.pathflags %}<i>({{object.pathflags}})</i>{% endif %}</code></dd> | 71 | <dd><code>{{object.file_path}} {% if object.pathflags %}<i>({{object.pathflags}})</i>{% endif %}</code></dd> |
| 72 | {% if layer_version.branch %} | ||
| 73 | <dt> | 72 | <dt> |
| 74 | <span class="glyphicon glyphicon-question-sign get-help" | 73 | <span class="glyphicon glyphicon-question-sign get-help" |
| 75 | title="The Git branch of the layer providing the | 74 | title="The Git branch of the layer providing the |
| 76 | recipe"></span> | 75 | recipe"></span> |
| 77 | Layer branch | 76 | Layer branch |
| 78 | </dt> | 77 | </dt> |
| 78 | {% if layer_version.layer.local_source_dir %} | ||
| 79 | <dd> | ||
| 80 | <span class="text-muted">Not applicable</span> | ||
| 81 | <span class="glyphicon glyphicon-question-sign get-help" title="The source | ||
| 82 | code of {{layer_version.layer.name}} is not in a git repository | ||
| 83 | so there is no branch associated with it"></span> | ||
| 84 | </dd> | ||
| 85 | {% else %} | ||
| 79 | <dd>{{layer_version.branch}}</dd> | 86 | <dd>{{layer_version.branch}}</dd> |
| 80 | {% endif %} | 87 | {% endif %} |
| 81 | <dt> | 88 | <dt> |
| 82 | <span class="glyphicon glyphicon-question-sign get-help" title="The Git | 89 | <span class="glyphicon glyphicon-question-sign get-help" title="The Git |
| 83 | commit of the layer providing the recipe"></span> | 90 | commit of the layer providing the recipe"></span> |
| 84 | Layer commit | 91 | Layer commit |
| 85 | </dt> | 92 | </dt> |
| 93 | {% if layer_version.layer.local_source_dir %} | ||
| 94 | <dd> | ||
| 95 | <span class="text-muted">Not applicable</span> | ||
| 96 | <span class="glyphicon glyphicon-question-sign get-help" title="The source | ||
| 97 | code of {{layer_version.layer.name}} is not in a git repository | ||
| 98 | so there is no commit associated with it"></span> | ||
| 99 | </dd> | ||
| 100 | {% else %} | ||
| 86 | <dd class="iscommit">{{layer_version.commit}}</dd> | 101 | <dd class="iscommit">{{layer_version.commit}}</dd> |
| 102 | {% endif %} | ||
| 87 | {% if object.provides_set.all %} | 103 | {% if object.provides_set.all %} |
| 88 | <dt> | 104 | <dt> |
| 89 | <span class="glyphicon glyphicon-question-sign get-help" | 105 | <span class="glyphicon glyphicon-question-sign get-help" |
