diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-10-28 14:22:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-29 07:32:10 +0000 |
commit | 66d3c353f8e7103b0d60abdeb575cd3ac303e877 (patch) | |
tree | d274976092354bfe943fc82fd5e0932eef7e5ea0 /bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |
parent | 5724b2a651d22430b055dfcfa714fe412afa2dfc (diff) | |
download | poky-66d3c353f8e7103b0d60abdeb575cd3ac303e877.tar.gz |
bitbake: toaster: templates Add meaningful title tags
Our title tags are all over the place, and have no relation to the page
content. This commit adds a meaningful title tag to each Toaster page.
(Bitbake rev: 1ab8827d684a19a70f3b788aed2327bf30edffe2)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_detail_base.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index a24bc8e436..9fa28a8f8a 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |||
@@ -1,6 +1,13 @@ | |||
1 | {% extends "basebuilddetailpage.html" %} | 1 | {% extends "basebuilddetailpage.html" %} |
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | 3 | ||
4 | {% block title %} | ||
5 | {% if target %} | ||
6 | {{package.fullpackagespec}} - {{ target.target }} {{ build.machine }} - {{ build.project.name }} - Toaster | ||
7 | {% else %} | ||
8 | {{package.fullpackagespec}} - {{ build.target_set.all|dictsort:"target"|join:", " }} {{ build.machine }} - {{ build.project.name }} - Toaster | ||
9 | {% endif %} | ||
10 | {% endblock %} | ||
4 | {% block extraheadcontent %} | 11 | {% block extraheadcontent %} |
5 | <!-- functions to format package 'installed_package' alias --> | 12 | <!-- functions to format package 'installed_package' alias --> |
6 | <script> | 13 | <script> |
@@ -38,9 +45,9 @@ | |||
38 | {% block pagedetailinfomain %} | 45 | {% block pagedetailinfomain %} |
39 | <div class="row span11"> | 46 | <div class="row span11"> |
40 | <div class="page-header"> | 47 | <div class="page-header"> |
41 | {% block title %} | 48 | {% block mainheading %} |
42 | <h1>{{package.fullpackagespec}}</h1> | 49 | <h1>{{package.fullpackagespec}}</h1> |
43 | {% endblock title %} | 50 | {% endblock %} |
44 | </div> <!-- page-header --> | 51 | </div> <!-- page-header --> |
45 | </div> <!-- row span11 page-header --> | 52 | </div> <!-- row span11 page-header --> |
46 | 53 | ||