mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
4f1390cd23
commit
f16f434bf2
@@ -7,7 +7,10 @@
|
||||
<div class="section">
|
||||
<ul class="breadcrumb" id="breadcrumb">
|
||||
<li><a href="{% url 'all-builds' %}">All builds</a></li>
|
||||
<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>
|
||||
{% if MANAGED and build.project %}
|
||||
<li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li>
|
||||
{%endif%}
|
||||
<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>
|
||||
{% block localbreadcrumb %}{% endblock %}
|
||||
</ul>
|
||||
<script>
|
||||
|
||||
@@ -8,11 +8,14 @@
|
||||
<!-- Breadcrumbs -->
|
||||
<div class="section">
|
||||
<ul class="breadcrumb" id="breadcrumb">
|
||||
<li><a href="{% url 'all-builds' %}">All builds</a></li>
|
||||
<li><a href="{% url 'all-builds' %}">All builds</a></li>
|
||||
{% if MANAGED and build.project %}
|
||||
<li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li>
|
||||
{%endif%}
|
||||
<li>
|
||||
{% block parentbreadcrumb %}
|
||||
<a href="{%url 'builddashboard' build.pk%}">
|
||||
{{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"}})
|
||||
{{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"}})
|
||||
</a>
|
||||
{% endblock %}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user