aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-01-26 16:37:05 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-01-27 14:25:13 +0000
commit947ef663e452c15933218fd680875ade7cb46e9a (patch)
treef1f819e85c1543f80ca17950502b81914507c580
parent4d52ceb7e66835a3088d83cd4caa002a3e7a1297 (diff)
downloadbitbake-947ef663e452c15933218fd680875ade7cb46e9a.tar.gz
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] Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
-rw-r--r--lib/toaster/toastergui/templates/layerdetails.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/templates/layerdetails.html b/lib/toaster/toastergui/templates/layerdetails.html
index 2b57561a7..84a21d7c7 100644
--- a/lib/toaster/toastergui/templates/layerdetails.html
+++ b/lib/toaster/toastergui/templates/layerdetails.html
@@ -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>