1{% extends "package_detail_base.html" %}
2{% load projecttags %}
3
4{% block mainheading %}
5        <h1>
6            {{package.fullpackagespec}}
7            <script>
8                fmtAliasHelp("{{package.name}}", "{{package.alias}}", false)
9            </script>
10            <small>({{target.target}})</small>
11        </h1>
12{% endblock %}
13
14{% block tabcontent %}
15{% with packageFileCount=package.buildfilelist_package.count %}
16    {% include "package_included_tabs.html" with active_tab="detail" %}
17    <div class="tab-content">
18        <div class="tab-pane active" id="files">
19            {% if packageFileCount > 0 %}
20            {% include "tablesort.html" %}
21                <tbody>
22					{% for file in objects %}
23                        <tr>
24                            <td class="path">
25                                <a href="{% url 'dirinfo_filepath' build.id target.id file.path %}">
26                                    {{file.path}}
27                                </a>
28                             </td>
29                            <td class="filesize sizecol" >{{file.size|filtered_filesizeformat}}</td>
30                        </tr>
31					{% endfor %}
32                </tbody>
33            </table>
34
35            {% else %}
36            <div class="alert alert-info">
37                <strong>{{package.fullpackagespec}}</strong> does not generate any files.
38            </div>
39            {% endif %}
40        </div> <!-- end tab-pane -->
41    </div> <!-- end tab content -->
42
43{% endwith %}
44{% endblock tabcontent %}
45