bitbake: toaster: layerdetails Add link to machines file

In the machines table for a layer add a link/icon to the machine
definition file.

[YOCTO #7241]

(Bitbake rev: 8c4e5fb580f5e375ccb1e84d8adb9562d1ba4b62)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood 2015-02-24 17:20:51 +00:00 committed by Richard Purdie
parent e28097f8a2
commit 00e3545029
1 changed files with 6 additions and 1 deletions

View File

@ -396,7 +396,12 @@
<tbody>
{% for machine in machines %}
<tr>
<td>{{machine.name}}</td>
<td>
{{machine.name}}
{% if machine.get_vcs_machine_file_link_url %}
<a href="{{machine.get_vcs_machine_file_link_url}}" target="_blank"><i class="icon-share get-info"></i></a>
{% endif %}
</td>
<td>{{machine.description}}</td>
<td><button class="btn btn-block select-machine-btn" data-machine-name="{{machine.name}}" {% if layer_in_project == 0 %}disabled="disabled"{% endif %}}>Select machine</button></td>
</tr>