diff options
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/configuration.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/configuration.html b/bitbake/lib/toaster/toastergui/templates/configuration.html index 1d0ec3f484..58989f865c 100644 --- a/bitbake/lib/toaster/toastergui/templates/configuration.html +++ b/bitbake/lib/toaster/toastergui/templates/configuration.html | |||
| @@ -53,11 +53,25 @@ | |||
| 53 | <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %} | 53 | <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %} |
| 54 | <tr> | 54 | <tr> |
| 55 | <td>{{lv.layer.name}}</td> | 55 | <td>{{lv.layer.name}}</td> |
| 56 | {% if lv.layer.local_source_dir %} | ||
| 57 | <td> | ||
| 58 | <span class="text-muted">Not applicable</span> | ||
| 59 | <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no branch associated with it"> </span> | ||
| 60 | </td> | ||
| 61 | {% else %} | ||
| 56 | <td>{{lv.branch}}</td> | 62 | <td>{{lv.branch}}</td> |
| 63 | {% endif %} | ||
| 64 | {% if lv.layer.local_source_dir %} | ||
| 65 | <td> | ||
| 66 | <span class="text-muted">Not applicable</span> | ||
| 67 | <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no commit associated with it"> </span> | ||
| 68 | </td> | ||
| 69 | {% else %} | ||
| 57 | <td> <a class="btn btn-default" data-content="<ul class='list-unstyled'> | 70 | <td> <a class="btn btn-default" data-content="<ul class='list-unstyled'> |
| 58 | <li>{{lv.commit}}</li> </ul>"> | 71 | <li>{{lv.commit}}</li> </ul>"> |
| 59 | {{lv.commit|truncatechars:13}} | 72 | {{lv.commit|truncatechars:13}} |
| 60 | </a></td> | 73 | </a></td> |
| 74 | {% endif %} | ||
| 61 | </tr>{% endfor %} | 75 | </tr>{% endfor %} |
| 62 | </tbody> | 76 | </tbody> |
| 63 | </table> | 77 | </table> |
