{% extends "package_detail_base.html" %} {% load projecttags %} {% block tabcontent %} {% with packageFileCount=package.buildfilelist_package.count %} {% if package.buildtargetlist_package.count == 0 %} {# Not included case #}
{% if packageFileCount > 0 %}
{{package.fullpackagespec}} is not included in any image. This page shows you the files added to an image root file system if you include {{package.fullpackagespec}} in future builds.
{% include "tablesort.html" %} {% for file in objects %} {{file.path}} {{file.size|filtered_filesizeformat}} {% endfor %} {% else %}
{{package.fullpackagespec}} does not generate any files.
{% endif %}
{% else %} {# Included case #}
Package included in: {% for itarget in package.buildtargetlist_package.all|dictsort:"target.target" %} {% if forloop.counter0 > 0 %} ,  {% endif %} {{itarget.target.target}} {% endfor %}
{% endif %} {% endwith %} {% endblock tabcontent %}