diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-04-01 23:11:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-08 16:18:12 +0100 |
commit | 12782678073b1605cc282a0a89e4ebb2e10a9be8 (patch) | |
tree | 4b55af3803cb6446426cf2e2f4b748baaf808b0e /bitbake/lib/toaster/toastergui/templates/package_built_detail.html | |
parent | 961f6226fa8019a7492ee40fdba18c5916065001 (diff) | |
download | poky-12782678073b1605cc282a0a89e4ebb2e10a9be8.tar.gz |
bitbake: toaster: Make sure layer branch only shows when not empty
In the recipe details and package details pages, the layer branch
definition list elements should only show when the branch field in
the database is populated. If the branch field is empty, we don't
show them.
The patch also removes all unnecessary data-toggle and
data-original-title attributes.
[YP #6152]
(Bitbake rev: 72adcadb931519f803dad7488544767241561fb7)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_built_detail.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_built_detail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_detail.html b/bitbake/lib/toaster/toastergui/templates/package_built_detail.html index 0fe01165da..9be8ccb85c 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_built_detail.html +++ b/bitbake/lib/toaster/toastergui/templates/package_built_detail.html | |||
@@ -8,11 +8,11 @@ | |||
8 | {# Not included case #} | 8 | {# Not included case #} |
9 | <ul class="nav nav-pills"> | 9 | <ul class="nav nav-pills"> |
10 | <li class="active"> <a href="#"> | 10 | <li class="active"> <a href="#"> |
11 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Files added to a root file system when you include {{package.name}} in an image"></i> | 11 | <i class="icon-question-sign get-help" title="Files added to a root file system when you include {{package.name}} in an image"></i> |
12 | Generated files ({{packageFileCount}}) | 12 | Generated files ({{packageFileCount}}) |
13 | </a></li> | 13 | </a></li> |
14 | <li class=""><a href="{% url 'package_built_dependencies' build.id package.id %}"> | 14 | <li class=""><a href="{% url 'package_built_dependencies' build.id package.id %}"> |
15 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Projected runtime dependencies when you include {{package.name}} in an image"></i> | 15 | <i class="icon-question-sign get-help" title="Projected runtime dependencies when you include {{package.name}} in an image"></i> |
16 | Runtime dependencies ({{dependency_count}}) | 16 | Runtime dependencies ({{dependency_count}}) |
17 | </a></li> | 17 | </a></li> |
18 | </ul> | 18 | </ul> |