summaryrefslogtreecommitdiff
path: root/lib/toaster/toastergui/templates/basebuilddetailpage.html
blob: 22ca50c0c3adaf90bc1d0bd8aff14f892eea9797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% 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">&rarr;</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 %}