blob: 4d506673227d757ab3db8327ba777ae3c036b627 [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
Patrick Williamsc0f7c042017-02-23 20:41:17 -06006<div class="row">
7 <!-- Breadcrumbs -->
8 <div class="col-md-12">
9 <ul class="breadcrumb" id="breadcrumb">
10 <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>
15 {% block localbreadcrumb %}{% endblock %}
16 </ul>
17 <script>
18$( function () {
19 $('#breadcrumb > li').append('<span class="divider">&rarr;</span>');
20 $('#breadcrumb > li:last').addClass("active");
21 $('#breadcrumb > li:last > span').remove();
22 });
23 </script>
24 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025</div>
26
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027<!-- Begin container -->
28{% block pagedetailinfomain %}{% endblock %}
29<!-- End container -->
30
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031{% endblock %}