/usr/share/debbugs/templates/en_US/cgi/bugreport_buginfo.tmpl is in debbugs-web 2.6.0.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | <div class="buginfo">
<p>Reported by: {package_links(submitter=>$status{originator})}</p>
<p>Date: {$status{date_text}}</p>
{ my $output = '';
if (defined $status{owner} and length $status{owner}) {
$output = q(<p>Owned by: ).package_links(owner=>$status{owner}).q(</p>);
}
$output;
}
<p>Severity: {my $output = $status{severity};
if (isstrongseverity($status{severity})) {
$output = q(<em class="severity">).$status{severity}.q(</em>);
}
$output;
}</p>
<p>{@{$status{tags_array}}?q(Tags: ).html_escape(join(q(, ),@{$status{tags_array}})):''}</p>
{my $output = '';
if (@{$status{mergedwith_array}}) {
$output .= q(<p>Merged with ).join(qq(,\n),bug_links(bug=>$status{mergedwith_array})).qq(</p>\n);
}
$output;
}
{my $output = '';
if (@{$status{found_versions}}) {
$output .= q(<p>Found in );
$output .= (@{$status{found_versions}} == 1) ? 'version ' : 'versions ';
$output .= join(qq(, ),map {html_escape($_);} @{$status{found_versions}}).qq(</p>\n);
}
if (@{$status{fixed_versions}}) {
$output .= q(<p>Fixed in );
$output .= (@{$status{fixed_versions}} == 1) ? 'version ' : 'versions ';
$output .= join(qq(, ),map {html_escape($_);} @{$status{fixed_versions}}).qq(</p>\n);
}
$output;
}
{ my $output = '';
if (length($status{done})) {
$output .= q(<p><strong>Done:</strong> ).html_escape($status{done}).q(</p>)
}
$output;
}
{ my $output = '';
if (@{$status{blockedby_array}}) {
$output .= q(<p>Fix blocked by ).
join(q(, ),
map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
@{$status{blockedby_array}}).q(</p>)
}
if (@{$status{blocks_array}}) {
$output .= q(<p>Blocking fix for ).
join(q(, ),
map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
@{$status{blocks_array}}).q(</p>)
}
$output;
}
{ my $output = '';
if (exists $status{archived} and $status{archived}) {
$output .= q(<p>Bug is archived. No further changes may be made.<p>)
}
$output
}{ my $output = '';
if (length($status{forwarded})) {
$output = "<p>Forwarded to " .
join(', ',
map {maybelink($_)}
split /\,\s+/,$status{forwarded}
)."</p>\n";
}
$output;
}{ my $output = '';
if (exists $status{summary} and defined $status{summary} and length $status{summary}) {
$output .= q(<p>Summary: ).html_escape($status{summary}).q(</p>);
}
if (exists $status{outlook} and defined $status{outlook} and length $status{outlook}) {
$output .= q(<p>Outlook: ).html_escape($status{outlook}).q(</p>);
}
$output;
}</div>
|