summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/target.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-04-01 23:11:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 16:18:12 +0100
commit12782678073b1605cc282a0a89e4ebb2e10a9be8 (patch)
tree4b55af3803cb6446426cf2e2f4b748baaf808b0e /bitbake/lib/toaster/toastergui/templates/target.html
parent961f6226fa8019a7492ee40fdba18c5916065001 (diff)
downloadpoky-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/target.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/target.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html
index 3a0c4d7998..86e46dcb1b 100644
--- a/bitbake/lib/toaster/toastergui/templates/target.html
+++ b/bitbake/lib/toaster/toastergui/templates/target.html
@@ -35,13 +35,13 @@
35 <ul class="nav nav-pills"> 35 <ul class="nav nav-pills">
36 <li class="active"> 36 <li class="active">
37 <a href="#target"> 37 <a href="#target">
38 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Of all the packages built, the subset installed in the root file system of this image"></i> 38 <i class="icon-question-sign get-help" title="Of all the packages built, the subset installed in the root file system of this image"></i>
39 Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}}) 39 Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}})
40 </a> 40 </a>
41 </li> 41 </li>
42 <li> 42 <li>
43 <a href="{% url 'dirinfo' build.id target.id %}"> 43 <a href="{% url 'dirinfo' build.id target.id %}">
44 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The directories and files in the root file system of this image"></i> 44 <i class="icon-question-sign get-help" title="The directories and files in the root file system of this image"></i>
45 Directory structure 45 Directory structure
46 </a> 46 </a>
47 </li> 47 </li>