summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-03 16:26:45 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit8e6975b1db7a206bbffae44c7b326aa7636dfd3c (patch)
treee8b1a36ea57bdfb627059bcd04ab63b167ac1412
parent6a332c5d8fa9ceb59be7f5e1c1db5dda11cd55ce (diff)
downloadopenembedded-core-contrib-8e6975b1db7a206bbffae44c7b326aa7636dfd3c.tar.gz
openembedded-core-contrib-8e6975b1db7a206bbffae44c7b326aa7636dfd3c.tar.bz2
openembedded-core-contrib-8e6975b1db7a206bbffae44c7b326aa7636dfd3c.zip
rrs: Add link to layer detail to breadcrumb on recipe detail
Add a convenience link to the layer detail to the breadcrumb (also as an indicator, since it's possible to have more than one layer in the maintenance plan). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--templates/rrs/recipedetail.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/rrs/recipedetail.html b/templates/rrs/recipedetail.html
index 90a25851a4..473b3c7499 100644
--- a/templates/rrs/recipedetail.html
+++ b/templates/rrs/recipedetail.html
@@ -24,6 +24,7 @@
<ul class="breadcrumb">
<li><a href="{% url 'rrs_maintplan' maintplan_name %}">{{ maintplan_name }}</a> <span class="divider">&rarr;</span></li>
+ <li><a href="{% url 'layer_item' recipe.layerbranch.branch.name recipe.layerbranch.layer.name %}">{{ recipe.layerbranch.layer.name }}</a> <span class="divider">&rarr;</span></li>
<li class="active">{{ recipe.name }}</li>
</ul>