Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | {% extends "base.html" %} |
| 2 | {% load humanize %} |
| 3 | {% block pagecontent %} |
| 4 | |
| 5 | <div class="row-fluid"> |
| 6 | <!-- Breadcrumbs --> |
| 7 | <div class="section"> |
| 8 | <ul class="breadcrumb" id="breadcrumb"> |
| 9 | <li class="muted">{{build.project.name}}:</li> |
| 10 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> |
| 11 | <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> |
| 12 | {% block localbreadcrumb %}{% endblock %} |
| 13 | </ul> |
| 14 | <script> |
| 15 | $( function () { |
| 16 | $('#breadcrumb > li').append('<span class="divider">→</span>'); |
| 17 | $('#breadcrumb > li:last').addClass("active"); |
| 18 | $('#breadcrumb > li:last > span, #breadcrumb > li:first > span').remove(); |
| 19 | }); |
| 20 | </script> |
| 21 | </div> <!--section--> |
| 22 | |
| 23 | <!-- Begin container --> |
| 24 | {% block pagedetailinfomain %}{% endblock %} |
| 25 | <!-- End container --> |
| 26 | |
| 27 | </div> |
| 28 | |
| 29 | {% endblock %} |