Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | {% extends "base.html" %} |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | {% load project_url_tag %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 3 | {% load humanize %} |
| 4 | {% block pagecontent %} |
| 5 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 6 | <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">→</span>'); |
| 20 | $('#breadcrumb > li:last').addClass("active"); |
| 21 | $('#breadcrumb > li:last > span').remove(); |
| 22 | }); |
| 23 | </script> |
| 24 | </div> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | </div> |
| 26 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 27 | <!-- Begin container --> |
| 28 | {% block pagedetailinfomain %}{% endblock %} |
| 29 | <!-- End container --> |
| 30 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | {% endblock %} |