]> git.donarmstrong.com Git - debbugs.git/blobdiff - templates/en_US/cgi/bugreport_pkginfo.tmpl
Switch from Text::Template to Text::Xslate
[debbugs.git] / templates / en_US / cgi / bugreport_pkginfo.tmpl
diff --git a/templates/en_US/cgi/bugreport_pkginfo.tmpl b/templates/en_US/cgi/bugreport_pkginfo.tmpl
deleted file mode 100644 (file)
index 777928e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="pkginfo">
-  <p>{if (keys %package > 1) { q(Packages)} else {q(Package)}}:
-     {join(q(, ),package_links(package => [map {$_->{package}} grep {!$_->{is_source}} values %package],
-                               source  => [map {$_->{source} } grep { $_->{is_source}} values %package],
-                               class => q(submitter),
-                              )
-          )};
-{my $output ='';
- for my $package (values %package) {
-     $output .= q(Maintainer for ).package_links($package->{is_source}?(source=>$package->{source}):(package=>$package->{package})).qq( is ).
-                package_links(maintainer => $package->{maintainer}).qq(; );
-     if (exists $package->{source} and not $package->{is_source}) {
-       $output .= q(Source for ).package_links(package=>$package->{package}).qq( is ).
-                   package_links(source => $package->{source}).qq(. );
-     }
- }
- $output;
-}</p>
-{ my $output = '';
-  if (keys %affects) {
-      $output .= q(<p>Affects: ).
-          join(q(, ),
-               package_links(package => [map {$_->{package}} grep {!$_->{is_source}} values %affects],
-                             source  => [map {$_->{source} } grep { $_->{is_source}} values %affects],
-                             class => q(submitter),
-                            )
-              ).q(</p>);
-  }
-  $output;
-}
-</div>