mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
Matching the help text in the tabs to the design specification. (Bitbake rev: cc478b3b0befc0c8fce93d896074f8d07eaac362) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
72 lines
3.3 KiB
HTML
72 lines
3.3 KiB
HTML
{% extends "package_detail_base.html" %}
|
|
{% load projecttags %}
|
|
|
|
{% block tabcontent %}
|
|
{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %}
|
|
<!-- Generated Files -->
|
|
{% if package.buildtargetlist_package.count == 0 %}
|
|
{# Not included case #}
|
|
<ul class="nav nav-pills">
|
|
<li class="active"> <a href="#">
|
|
<i class="icon-question-sign get-help" data-toggle="tooltip" title="Files that would be added to a root file system if you were to include {{package.name}} in an image"></i>
|
|
Generated files ({{packageFileCount}})
|
|
</a></li>
|
|
<li class=""><a href="{% url 'package_built_dependencies' build.id package.id %}">
|
|
<i class="icon-question-sign get-help" data-toggle="tooltip" title="Projected runtime dependencies if you were to include {{package.name}} in an image"></i>
|
|
Runtime dependencies ({{dependency_count}})
|
|
</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="files">
|
|
<!-- Package file list or if empty, alert pane -->
|
|
{% if packageFileCount > 0 %}
|
|
<div class="alert alert-info">
|
|
{{fullPackageSpec}} is <strong>not included</strong> in any image. These are the files that would be added to an image root file system if you were to include it in future builds.
|
|
</div>
|
|
<table class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>File</th>
|
|
<th>Size</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for file in package.buildfilelist_package.all|dictsort:"path" %}
|
|
<tr>
|
|
<td>{{file.path}}</td>
|
|
<td>{{file.size|filtered_filesizeformat}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% else %}
|
|
<div class="alert alert-info">
|
|
<strong>{{fullPackageSpec}}</strong> does not generate any files.
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div> <!-- tab-pane active -->
|
|
</div> <!-- tab-content -->
|
|
{% else %}
|
|
{# Included case #}
|
|
<div class="tab-content">
|
|
<div class="tab-pane active">
|
|
<div class="lead well">
|
|
Package included in:
|
|
{% for itarget in package.buildtargetlist_package.all|dictsort:"target.target" %}
|
|
<a href="{% url 'package_included_detail' build.id itarget.target.id package.id %}">
|
|
{% if forloop.counter0 > 0 %}
|
|
,
|
|
{% endif %}
|
|
{{itarget.target.target}}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
</div> <!-- tab-pane active -->
|
|
</div> <!-- tab-content -->
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
{% endblock tabcontent %}
|