diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-02-24 17:20:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-24 23:35:43 +0000 |
commit | 00e3545029a6e08900591e4c1001c17fbd0c4566 (patch) | |
tree | 7485b839f9984b72a39d2a10bb935878c1b956b1 /bitbake/lib | |
parent | e28097f8a23b324a7de8b58f8d5dc4ca8512e52a (diff) | |
download | poky-00e3545029a6e08900591e4c1001c17fbd0c4566.tar.gz |
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 6c803ff544..49c62c6bc0 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -396,7 +396,12 @@ | |||
396 | <tbody> | 396 | <tbody> |
397 | {% for machine in machines %} | 397 | {% for machine in machines %} |
398 | <tr> | 398 | <tr> |
399 | <td>{{machine.name}}</td> | 399 | <td> |
400 | {{machine.name}} | ||
401 | {% if machine.get_vcs_machine_file_link_url %} | ||
402 | <a href="{{machine.get_vcs_machine_file_link_url}}" target="_blank"><i class="icon-share get-info"></i></a> | ||
403 | {% endif %} | ||
404 | </td> | ||
400 | <td>{{machine.description}}</td> | 405 | <td>{{machine.description}}</td> |
401 | <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> | 406 | <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> |
402 | </tr> | 407 | </tr> |