diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2016-02-22 09:08:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-26 17:20:21 +0000 |
commit | e1fc3190b730aaa73fd7b004c0b7f35a6626bd24 (patch) | |
tree | 0c0b172b91525baa73130179ea1d42015cdbcb5a /bitbake/lib/toaster/toastergui/templates/layerdetails.html | |
parent | df2808f5f60736d01c11aaa247377b003899c735 (diff) | |
download | poky-e1fc3190b730aaa73fd7b004c0b7f35a6626bd24.tar.gz |
bitbake: toaster: link to configuration in all breadcrumbs
The existing breadcrumb does not always provide a link to the project
configuration page. When you are in the build history pages, you must go
back to the builds information first, and from there access the project
configuration. That feels very long.
Change the breadcrumb so that the project name item always provides a
link to the project configuration.
(Bitbake rev: 9910f3f292d35fc91215d550c5f123dcf18ab35d)
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/layerdetails.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 7fe365da38..61ae52c2f8 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -8,9 +8,8 @@ | |||
8 | 8 | ||
9 | <div class="section"> | 9 | <div class="section"> |
10 | <ul class="breadcrumb"> | 10 | <ul class="breadcrumb"> |
11 | <li class="muted">{{project.name}}:</li> | ||
12 | <li> | 11 | <li> |
13 | <a href="{% url 'project' project.id %}">Configuration</a> | 12 | <a href="{% url 'project' project.id %}">{{project.name}}</a> |
14 | <span class="divider">→</span> | 13 | <span class="divider">→</span> |
15 | </li> | 14 | </li> |
16 | <li><a href="{% url 'projectlayers' project.id %}">Compatible layers</a> | 15 | <li><a href="{% url 'projectlayers' project.id %}">Compatible layers</a> |
@@ -46,7 +45,6 @@ | |||
46 | 45 | ||
47 | $(document).ready(function (){ | 46 | $(document).ready(function (){ |
48 | var ctx = { | 47 | var ctx = { |
49 | projectBuildsUrl : "{% url 'projectbuilds' project.id %}", | ||
50 | xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}", | 48 | xhrUpdateLayerUrl : "{% url 'xhr_updatelayer' %}", |
51 | layerVersion : { | 49 | layerVersion : { |
52 | name : "{{layerversion.layer.name}}", | 50 | name : "{{layerversion.layer.name}}", |