1{% extends "package_detail_base.html" %} 2{% load projecttags %} 3 4{% block mainheading %} 5 <h1> 6 {{package.fullpackagespec}} 7 <script> fmtAliasHelp("{{package.name}}", "{{package.alias}}", false) </script> 8 <small>({{target.target}})</small> 9 </h1> 10{% endblock %} 11 12{% block tabcontent %} 13 {% with packageFileCount=package.buildfilelist_package.count %} 14 {% include "package_included_tabs.html" with active_tab="reverse" %} 15 <div class="tab-content"> 16 <div class="tab-pane active" id="brought-in-by"> 17 18 {% if reverse_count == 0 %} 19 <div class="alert alert-info"> 20 <strong>{{package.fullpackagespec}}</strong> has no reverse runtime dependencies. 21 </div> 22 {% else %} 23 {% include "tablesort.html" %} 24 <tbody> 25 {% for reverse_dep in objects %} 26 <tr {% if reverse_dep.size %}{{reverse_dep.size|format_vpackage_rowclass}}{%endif%} > 27 {% if reverse_dep.size != -1 %} 28 <td> 29 <a href="{% url 'package_included_detail' build.id target.id reverse_dep.package_id %}"> 30 {{reverse_dep.package.name}} 31 </a> 32 <script>fmtAliasHelp("{{reverse_dep.package.name}}", "{{reverse_dep.alias}}", true)</script> 33 </td> 34 {% else %} 35 <td> 36 {{reverse_dep.name|format_vpackage_namehelp}} 37 </td> 38 {% endif %} 39 40 <td>{{reverse_dep.package.version}} </td> 41 <td class='sizecol'>{{reverse_dep.package.size|filtered_filesizeformat}} </td> 42 </tr> 43 {% endfor %} 44 </tbody> 45 </table> 46 {% endif %} 47 </div> <!-- end tab-pane --> 48 </div> <!-- end tab content --> 49 {% endwith %} 50{% endblock tabcontent %} 51