diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | 7 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html index e350c1a859..a62e0b1cb8 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | |||
@@ -1,4 +1,5 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | {% load project_url_tag %} | ||
2 | {% load humanize %} | 3 | {% load humanize %} |
3 | {% block pagecontent %} | 4 | {% block pagecontent %} |
4 | 5 | ||
@@ -6,8 +7,10 @@ | |||
6 | <!-- Breadcrumbs --> | 7 | <!-- Breadcrumbs --> |
7 | <div class="section"> | 8 | <div class="section"> |
8 | <ul class="breadcrumb" id="breadcrumb"> | 9 | <ul class="breadcrumb" id="breadcrumb"> |
9 | <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li> | 10 | <li><a href="{% project_url build.project %}">{{build.project.name}}</a></li> |
10 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | 11 | {% if not build.project.is_default %} |
12 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | ||
13 | {% endif %} | ||
11 | <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> | 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> |
12 | {% block localbreadcrumb %}{% endblock %} | 15 | {% block localbreadcrumb %}{% endblock %} |
13 | </ul> | 16 | </ul> |
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 35718694ea..0dc71f5e5e 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |||
@@ -1,5 +1,6 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | {% load project_url_tag %} | ||
3 | {% load humanize %} | 4 | {% load humanize %} |
4 | {% block pagecontent %} | 5 | {% block pagecontent %} |
5 | 6 | ||
@@ -8,8 +9,10 @@ | |||
8 | <!-- Breadcrumbs --> | 9 | <!-- Breadcrumbs --> |
9 | <div class="section"> | 10 | <div class="section"> |
10 | <ul class="breadcrumb" id="breadcrumb"> | 11 | <ul class="breadcrumb" id="breadcrumb"> |
11 | <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li> | 12 | <li><a href="{% project_url build.project %}">{{build.project.name}}</a></li> |
12 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | 13 | {% if not build.project.is_default %} |
14 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | ||
15 | {% endif %} | ||
13 | <li> | 16 | <li> |
14 | {% block parentbreadcrumb %} | 17 | {% block parentbreadcrumb %} |
15 | <a href="{%url 'builddashboard' build.pk%}"> | 18 | <a href="{%url 'builddashboard' build.pk%}"> |