diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2016-02-24 13:49:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-26 17:20:33 +0000 |
commit | 149f57470cacf029febc4c1c9de499faba141466 (patch) | |
tree | 5b71634b4a769b611c72cc1745ea63f8f1ad38e0 /bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |
parent | 4a12865c7b8a534ac7f7c1380c549c5392eda5f5 (diff) | |
download | poky-149f57470cacf029febc4c1c9de499faba141466.tar.gz |
bitbake: toaster: custom breadcrumb for the default project
The default "Command line builds" project does not have a Configuration
page. It therefore needs a custom breadcrumb where the project name goes
to the project builds page, instead of the project configuration page.
(Bitbake rev: 5545acf6703a25ee46776138bbbd804615add89c)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 7 |
1 files changed, 5 insertions, 2 deletions
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%}"> |