From 2d9131f94947661f5981ad0220d61e04739d7506 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 5 Jul 2019 20:11:49 -0700 Subject: [PATCH] make the pkginfo section a table instead of a long sentence --- templates/en_US/cgi/bugreport_pkginfo.tx | 30 +++++++++++++++++------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/templates/en_US/cgi/bugreport_pkginfo.tx b/templates/en_US/cgi/bugreport_pkginfo.tx index 18d259a..f572162 100644 --- a/templates/en_US/cgi/bugreport_pkginfo.tx +++ b/templates/en_US/cgi/bugreport_pkginfo.tx @@ -11,15 +11,29 @@ , : } } }
-

Package<: if ($package.keys.count > 1) {:>s<: } :> - <: link_to_package($package) :> -: for $package.values() -> $pkg { -

Maintainer for <: package_links($pkg.is_source ? "source": "package",$pkg.is_source ? $pkg.source : $pkg.package ) :> is <: package_links(maintainer => $pkg.maintainer) :>; -<: if defined($pkg.source) && not $pkg.is_source { :> -Source for <: package_links(package => $pkg.package) :> is -<: package_links(source => $pkg.source) :>. -<: } :>

+ +: for $bug.packages.members_ref -> $pkg { + + + + + + +: } +
PackageSource(s)Maintainer(s)
<: $pkg.name :> +: for $pkg.sources.members_ref -> $src { + <: $src.name :> + <:- if ! $~src.is_last { :>, <: } -:> : } + PTS + Buildd + Popcon + +: for $pkg.maintainers.members_ref -> $maint { + <: $maint.name :> + <:- if ! $~maint.is_last { :>, <: } -:> +: } +
: if $affects.keys.size > 0 {

Affects: <: link_to_package($affects) :>

-- 2.39.2