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>
This commit is contained in:
Belen Barros Pena
2015-01-26 16:37:05 +00:00
committed by Richard Purdie
parent a9c0865239
commit bc63d6bc7b

View File

@@ -265,7 +265,7 @@
<td>
{{target.name}}
{% if target.up_id %}
<a href="http://layers.openembedded.org/layerindex/recipe/{{target.up_id}}/" class="icon-share get-info"></a>
<a href="{{target.get_layersource_view_url}}" class="icon-share get-info" target="_blank"></a>
{% endif %}
</td>
<td>{{target.version}}</td>