Commit 47654780 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: show total number of packages in a pkg set

parent e7e9d6ce
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
#
# Copyright © 2016 Valerie Young <spectranaut@riseup.net>
#           © 2018 Mattia Rizzolo <mattia@mapreri.org>
#           © 2016-2019 Holger Levsen <holger@layer-acht.org>
# Based on reproducible_html_pkg_sets.sh:
#           © 2014-2016 Holger Levsen <holger@layer-acht.org>
#           © 2015 Mattia Rizzolo <mattia@debian.org>
@@ -210,6 +211,7 @@ def create_pkgset_page_and_graphs(suite, arch, stats, pkgset_name):
    html_body += create_pkgset_navigation(suite, arch, pkgset_name)
    pkgset_context = ({
        'pkgset_name': pkgset_name,
        'count_all': stats["count_all"],
        'suite': suite,
        'arch': arch,
        'pkg_symbol_legend_html':
+2 −2
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@
{{#png}}
  <a href="{{png}}">
    <img src="{{png}}" class="overview"
     title="Package set {{pkgset_name}} in {{suite}}/{{arch}}. (To switch suite and arch, see top left.)"
     title="Package set {{pkgset_name}} in {{suite}}/{{arch}}. (To switch suite and/or arch, see top left.)"
     alt="package set {{pkgset_name}} in {{suite}}/{{arch}}">
  </a>
  {{/png}}
  <br />
  The package set <span class="highlight">{{pkgset_name}}</span> in
  <span class="highlight">{{suite}}/{{arch}}</span> consists of:
  <span class="highlight">{{suite}}/{{arch}}</span> consists of {{count_all} packages:
  <br />
  {{#status_details}}
  {{{icon_html}}} {{status_count}} ({{status_percent}}%) packages