summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/package_detail_base.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/package_detail_base.html
parent961f6226fa8019a7492ee40fdba18c5916065001 (diff)
downloadast2050-yocto-poky-12782678073b1605cc282a0a89e4ebb2e10a9be8.zip
ast2050-yocto-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_detail_base.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_detail_base.html21
1 files changed, 11 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
index 5888513..cd015d3 100644
--- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
+++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
@@ -57,7 +57,7 @@
<dl>
<dt>
Size
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The size of the package"></i>
+ <i class="icon-question-sign get-help" title="The size of the package"></i>
</dt>
<dd>
{% comment %}
@@ -74,7 +74,7 @@
<dt>
License
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The license under which this package is distributed"></i>
+ <i class="icon-question-sign get-help" title="The license under which this package is distributed"></i>
</dt>
<dd>{{package.license}}</dd>
@@ -83,14 +83,14 @@
# problemse are resolved.
<dt>
License files
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the license files that apply to the package"></i>
+ <i class="icon-question-sign get-help" title="Path to the license files that apply to the package"></i>
</dt>
<dd></dd>
{% endcomment %}
<dt>
Recipe
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the recipe building this package"></i>
+ <i class="icon-question-sign get-help" title="The name of the recipe building this package"></i>
</dt>
<dd>
{% if package.recipe_id > 0 %}
@@ -102,13 +102,13 @@
<dt>
Recipe version
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The version of the recipe building this package"></i>
+ <i class="icon-question-sign get-help" title="The version of the recipe building this package"></i>
</dt>
<dd>{{package.recipe.version}}</dd>
<dt>
Layer
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the layer providing the recipe that builds this package"></i>
+ <i class="icon-question-sign get-help" title="The name of the layer providing the recipe that builds this package"></i>
</dt>
<dd>
{{package.recipe.layer_version.layer.name}}
@@ -122,21 +122,22 @@
{% endcomment %}
{% endif %}
</dd>
-
+ {% if package.recipe.layer_version.branch %}
<dt>
Layer branch
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git branch of the layer providing the recipe that builds this package"></i>
+ <i class="icon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></i>
</dt>
<dd>{{package.recipe.layer_version.branch}}</dd>
+ {% endif %}
<dt>
Layer commit
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git commit of the layer providing the recipe that builds this package"></i>
+ <i class="icon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></i>
</dt>
<dd class="iscommit">{{package.recipe.layer_version.commit}}</dd>
<dt>
Layer directory
- <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the layer providing the recipe that builds this package"></i>
+ <i class="icon-question-sign get-help" title="Path to the layer providing the recipe that builds this package"></i>
</dt>
<dd><code>{{package.recipe.layer_version.layer.local_path}}</code></dd>
</dl>
OpenPOWER on IntegriCloud