diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-01-26 16:37:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:34 +0000 |
commit | bc63d6bc7ba957565e4b281b1b3e88e8b1348fb0 (patch) | |
tree | d8f0f12ea06982fb59dc07d7961997c4afed0b09 /bitbake/lib/toaster | |
parent | a9c08652398e822ea8131dc8e1b077dca53c3c5d (diff) | |
download | poky-bc63d6bc7ba957565e4b281b1b3e88e8b1348fb0.tar.gz |
bitbake: toastergui: remove recipe id links to the layer index
Toaster cannot use the recipe id to link to the layer
index, because recipe ids can change. We need to search
by the recipe name instead.
This patch removes the recipe id link from the layer
details page and replaces it with a search by the
recipe name.
It also makes sure links to the layer index open in
a new tab/window.
[YOCTO #7194]
[YOCTO #7193]
(Bitbake rev: 947ef663e452c15933218fd680875ade7cb46e9a)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 2b57561a74..84a21d7c79 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -265,7 +265,7 @@ | |||
265 | <td> | 265 | <td> |
266 | {{target.name}} | 266 | {{target.name}} |
267 | {% if target.up_id %} | 267 | {% if target.up_id %} |
268 | <a href="http://layers.openembedded.org/layerindex/recipe/{{target.up_id}}/" class="icon-share get-info"></a> | 268 | <a href="{{target.get_layersource_view_url}}" class="icon-share get-info" target="_blank"></a> |
269 | {% endif %} | 269 | {% endif %} |
270 | </td> | 270 | </td> |
271 | <td>{{target.version}}</td> | 271 | <td>{{target.version}}</td> |