]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/bugreport_pkginfo.tx
Merge branch 'mouseify'
[debbugs.git] / templates / en_US / cgi / bugreport_pkginfo.tx
1 : macro link_to_package -> ($packages) {
2 : for $packages.values() -> $pkg {
3 : if $pkg.is_source {
4 <:- package_links(source => $pkg.source,class=>"submitter"); -:>
5 : } else {
6 <:- package_links(package => $pkg.package,class=>"submitter"); -:>
7 : }
8 : if $~pkg.is_last {
9 ;
10 : } else {
11 ,
12 : } } }
13 <div class="pkginfo">
14     <table><th>Package</th><th>Source(s)</th><th></th><th>Maintainer(s)</th>
15 : for $bug.packages.members_ref -> $pkg {
16         <tr>
17             <td><a href="<: $pkg.url :>"><: $pkg.name :></a></td>
18             <td>
19 : for $pkg.sources.members_ref -> $src {
20                 <a href="<: $src.url :>"><: $src.name :></a>
21                 <:- if ! $~src.is_last { :>, <: } -:>
22 : }
23             </td>
24             <td><a href="https://tracker.debian.org/<:$pkg.name:>">PTS</a>
25                 <a href="https://buildd.debian.org/<:$pkg.name:>">Buildd</a>
26                 <a href="https://qa.debian.org/popcon.php?package=<:$pkg.name:>">Popcon</a>
27             </td>
28             <td>
29 : for $pkg.maintainers.members_ref -> $maint {
30                 <a href="<: $maint.maintainer_url :>"><: $maint.name :></a>
31                 <:- if ! $~maint.is_last { :>, <: } -:>
32 : }
33             </td>
34         </tr>
35 : }
36     </table>
37 : if $affects.keys.size > 0 {
38 <p>Affects: <: link_to_package($affects) :>
39 </p>
40 : }
41 </div>