summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-08-04 16:07:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:41 -0500
commit569567d3b3811eb206a143479d624d82811b3a14 (patch)
tree22a873a33a3a106f099f60c2d5144db39c2a6bb5 /bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
parentd47358fc952800e0115cea25d7cb4c07c49eaaf9 (diff)
downloadpoky-569567d3b3811eb206a143479d624d82811b3a14.tar.gz
bitbake: toastergui: breadcrumb fixes
Make sure that we use the correct html entity for the breadcrumb dividers, and remove the 'all builds' item from the history pages: all breadcrumbs should now have the project name as their first element, since the 'all builds' page can be reached using the global naviation in the top bar. (Bitbake rev: c97f658f4b2131f280c364c2209efd28878570dc) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
index d324c90712..8657845cd2 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
@@ -6,14 +6,13 @@
6<!-- Breadcrumbs --> 6<!-- Breadcrumbs -->
7 <div class="section"> 7 <div class="section">
8 <ul class="breadcrumb" id="breadcrumb"> 8 <ul class="breadcrumb" id="breadcrumb">
9 <li><a href="{% url 'all-builds' %}">All builds</a></li>
10 <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li> 9 <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li>
11 <li><a href="{%url 'builddashboard' build.pk%}">{{build.target_set.all.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> 10 <li><a href="{%url 'builddashboard' build.pk%}">{{build.target_set.all.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} ({{build.completed_on|date:"d/m/y H:i"}})</a></li>
12 {% block localbreadcrumb %}{% endblock %} 11 {% block localbreadcrumb %}{% endblock %}
13 </ul> 12 </ul>
14 <script> 13 <script>
15 $( function () { 14 $( function () {
16 $('#breadcrumb > li').append("<span class=\"divider\"></span>"); 15 $('#breadcrumb > li').append('<span class="divider">&rarr;</span>');
17 $('#breadcrumb > li:last').addClass("active"); 16 $('#breadcrumb > li:last').addClass("active");
18 $('#breadcrumb > li:last > span').remove(); 17 $('#breadcrumb > li:last > span').remove();
19 }); 18 });