summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-09-30 13:57:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-30 13:39:49 +0000
commitf16f434bf24eeee3ecaec7ab3c0d67ff0b6c7372 (patch)
tree630b1e06c3f9338fd2de138d80a54589b5dc7ac6 /bitbake/lib
parent4f1390cd2376eb50834ff0decb4abc5b101f8c2e (diff)
downloadpoky-f16f434bf24eeee3ecaec7ab3c0d67ff0b6c7372.tar.gz
bitbake: toastergui: update breadcrumb in analysis pages
If we are in managed mode, and we inspect a build that comes from a project, we modify the breadcrumb as to display the project from where the build originated. [YOCTO #6776] (Bitbake rev: fe568c9350a691c863f9f5bf8703d639c12a9961) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html5
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuildpage.html7
2 files changed, 9 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
index 5149768517..c8e217e9dd 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html
@@ -7,7 +7,10 @@
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> 9 <li><a href="{% url 'all-builds' %}">All builds</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.machine}} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> 10 {% if MANAGED and build.project %}
11 <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li>
12 {%endif%}
13 <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%}{%if not MANAGED %}{{build.machine}}{%endif%} ({{build.completed_on|date:"d/m/y H:i"}})</a></li>
11 {% block localbreadcrumb %}{% endblock %} 14 {% block localbreadcrumb %}{% endblock %}
12 </ul> 15 </ul>
13 <script> 16 <script>
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
index 46110519e9..c03f1b4015 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
@@ -8,11 +8,14 @@
8<!-- Breadcrumbs --> 8<!-- Breadcrumbs -->
9 <div class="section"> 9 <div class="section">
10 <ul class="breadcrumb" id="breadcrumb"> 10 <ul class="breadcrumb" id="breadcrumb">
11<li><a href="{% url 'all-builds' %}">All builds</a></li> 11 <li><a href="{% url 'all-builds' %}">All builds</a></li>
12 {% if MANAGED and build.project %}
13 <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li>
14 {%endif%}
12 <li> 15 <li>
13 {% block parentbreadcrumb %} 16 {% block parentbreadcrumb %}
14 <a href="{%url 'builddashboard' build.pk%}"> 17 <a href="{%url 'builddashboard' build.pk%}">
15 {{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}}) 18 {{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} {%if not MANAGED %}{{build.machine}}{% endif %} ({{build.completed_on|date:"d/m/y H:i"}})
16 </a> 19 </a>
17 {% endblock %} 20 {% endblock %}
18 </li> 21 </li>