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/toaster/toastergui/templates | |
parent | e28097f8a23b324a7de8b58f8d5dc4ca8512e52a (diff) | |
download | ast2050-yocto-poky-00e3545029a6e08900591e4c1001c17fbd0c4566.zip ast2050-yocto-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/toaster/toastergui/templates')
-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 6c803ff..49c62c6 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -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> |