mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
This patch: * Changes the breadcrumb to provide access to either the project builds or the project configuration, as appropriate * Changes the left navigation in the project configuration to reflect the hierarchical relationship between the basic configuration and all other configuration pages * Changes the left navigation in the build history to bring it in line with the changes in the project configuration This way the breadcrumb explicitly exposes the hierarchy of the application, which is its correct behaviour, making it easier to move around within Toaster. (Bitbake rev: 135dff67216759286f584e501583584a9cb09f27) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load humanize %}
|
|
{% block pagecontent %}
|
|
|
|
<div class="row-fluid">
|
|
<!-- Breadcrumbs -->
|
|
<div class="section">
|
|
<ul class="breadcrumb" id="breadcrumb">
|
|
<li class="muted">{{build.project.name}}:</li>
|
|
<li><a href="{% url 'projectbuilds' build.project.id %}">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.completed_on|date:"d/m/y H:i"}})</a></li>
|
|
{% block localbreadcrumb %}{% endblock %}
|
|
</ul>
|
|
<script>
|
|
$( function () {
|
|
$('#breadcrumb > li').append('<span class="divider">→</span>');
|
|
$('#breadcrumb > li:last').addClass("active");
|
|
$('#breadcrumb > li:last > span, #breadcrumb > li:first > span').remove();
|
|
});
|
|
</script>
|
|
</div> <!--section-->
|
|
|
|
<!-- Begin container -->
|
|
{% block pagedetailinfomain %}{% endblock %}
|
|
<!-- End container -->
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|