2014-01-23 17:47:41 +00:00
{% extends "package_detail_base.html" %}
{% load projecttags %}
{% block title %}
2014-02-20 10:14:41 +00:00
{% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %}
2014-01-23 17:47:41 +00:00
< h1 > {{fullPackageSpec}} < small > ({{target.target}})< / small > < / h1 >
{% endwith %}
{% endblock title %}
{% block tabcontent %}
2014-02-20 10:14:41 +00:00
{% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %}
2014-01-23 17:47:41 +00:00
{% include "package_included_tabs.html" with active_tab="detail" %}
< div class = "tab-content" >
< div class = "tab-pane active" id = "files" >
{% if packageFileCount > 0 %}
< table class = "table table-bordered table-hover" >
< thead >
< tr >
< th > File< / th >
< th > Size< / th >
< / tr >
< / thead >
2014-02-20 01:20:47 +00:00
< tbody >
{% for file in package.buildfilelist_package.all|dictsort:"path" %}
2014-01-23 17:47:41 +00:00
< tr >
< td >
< a href = "{% url 'image_information_dir' build.id target.id file.id %}" >
{{file.path}}
< / a >
< / td >
< td > {{file.size|filtered_filesizeformat}}< / td >
< / tr >
2014-02-20 01:20:47 +00:00
{% endfor %}
< / tbody >
2014-01-23 17:47:41 +00:00
< / table >
{% else %}
< div class = "alert alert-info" >
< strong > {{fullPackageSpec}}< / strong > does not generate any files.
< / div >
{% endif %}
< / div > <!-- end tab - pane -->
< / div > <!-- end tab content -->
{% endwith %}
{% endblock tabcontent %}