blob: a62e0b1cb831541fa00fd965fe8140cc2a6c6851 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "base.html" %}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002{% load project_url_tag %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003{% load humanize %}
4{% block pagecontent %}
5
6<div class="row-fluid">
7<!-- Breadcrumbs -->
8 <div class="section">
9 <ul class="breadcrumb" id="breadcrumb">
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010 <li><a href="{% project_url build.project %}">{{build.project.name}}</a></li>
11 {% if not build.project.is_default %}
12 <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li>
13 {% endif %}
14 <li><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"}})</a></li>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 {% block localbreadcrumb %}{% endblock %}
16 </ul>
17 <script>
18 $( function () {
19 $('#breadcrumb > li').append('<span class="divider">&rarr;</span>');
20 $('#breadcrumb > li:last').addClass("active");
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021 $('#breadcrumb > li:last > span').remove();
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 });
23 </script>
24 </div> <!--section-->
25
26 <!-- Begin container -->
27 {% block pagedetailinfomain %}{% endblock %}
28 <!-- End container -->
29
30</div>
31
32{% endblock %}