<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Taken in.<br><br>Alex<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 10:54 AM, Barros Pena, Belen <span dir="ltr"><<a href="mailto:belen.barros.pena@intel.com" target="_blank">belen.barros.pena@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
<br>
On 25/03/2014 03:02, "Reyna, David" <<a href="mailto:david.reyna@windriver.com">david.reyna@windriver.com</a>> wrote:<br>
<br>
>Hi Belen and Alex,<br>
><br>
>This patch implements the blocks for highlighting the navigation links<br>
>per page, plus it makes the build¹s breadcrumb not be a link for the<br>
>dashboard page, as per our discussions.<br>
<br>
><br>
> Â * Here is the branch: dreyna/navbar_5916<br>
<br>
</div>This is working great. Thanks!<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
><br>
>It is after my ³dreyna/build-dashboard² branch.<br>
><br>
> Â * I have tested it for each navigation link, including both<br>
>Configuration pages, and all four Tasks pages.<br>
><br>
><br>
> Â * I have also tested it for multiple targets, but you either need to<br>
>bring in Dave¹s target page, or you need to locally update the<br>
>³poky/master² view class, in order to pass in the target  record for link<br>
>matching purposes:<br>
><br>
>def target(request, build_id, target_id):<br>
> Â Â template = "target.html"<br>
> Â Â if Build.objects.filter(pk=build_id).count() == 0 :<br>
> Â Â Â Â return redirect(builds)<br>
> Â Â context = {<br>
> Â Â Â Â Â Â 'build' : Build.objects.filter(pk=build_id)[0],<br>
> Â Â Â Â Â Â 'target': Target.objects.filter(pk=target_id)[0],<br>
> Â Â }<br>
> Â Â return render(request, template, context)<br>
><br>
>Thanks,<br>
>David<br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Alex Damian<div>Yocto Project<br></div><div>SSG / OTCÂ </div></div>
</div>