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]
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
<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>