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 | |
| 6 | <div class="row-fluid"> |
| 7 | <!-- Breadcrumbs --> |
| 8 | <div class="section"> |
| 9 | <ul class="breadcrumb" id="breadcrumb"> |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 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> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | {% block localbreadcrumb %}{% endblock %} |
| 16 | </ul> |
| 17 | <script> |
| 18 | $( function () { |
| 19 | $('#breadcrumb > li').append('<span class="divider">→</span>'); |
| 20 | $('#breadcrumb > li:last').addClass("active"); |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 21 | $('#breadcrumb > li:last > span').remove(); |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | }); |
| 23 | </script> |
| 24 | </div> <!--section--> |
| 25 | |
| 26 | <!-- Begin container --> |
| 27 | {% block pagedetailinfomain %}{% endblock %} |
| 28 | <!-- End container --> |
| 29 | |
| 30 | </div> |
| 31 | |
| 32 | {% endblock %} |