[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: bugs/bugz
From: Dirk Mueller <mueller () kde ! org>
Date: 2005-06-02 22:23:08
Message-ID: 1117750988.234988.14231.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 421376 by mueller:
implement quickest fixer highscore
FEATURE:103272
M +3 -3 weekly-bug-summary.cgi
M +5 -5 weekly-summary-utils.pl
--- trunk/bugs/bugz/weekly-bug-summary.cgi #421375:421376
@@ -106,11 +106,11 @@
print "<h3 style=\"text-align:center;\">Top ".html_quote($tops)." KDE modules with \
the most bugs:</h3>"; &print_product_bug_lists($tops, $days, "HTML");
-print "<h3 style=\"text-align:center;\">Top ".html_quote($tops)." people who \
resolved the most reports in the last ".html_quote($days)." days:</h3>"; +print "<h3 \
style=\"text-align:center;\"><a name=\"closers\">Top ".html_quote($tops)." people who \
resolved the most reports in the last ".html_quote($days)." days:</a></h3>"; \
&print_bug_hunters_list($tops, $days, "HTML");
-print "<h3 style=\"text-align:center;\">Top ".html_quote($tops)." people who quickly \
fixed a report in the last ".html_quote($days)." days:</h3>";
-&print_bug_hunters_list($tops, $days, "HTML");
+print "<h3 style=\"text-align:center;\"><a name=\"fixers\">Top ".html_quote($tops)." \
people who most quickly fixed a report in the last ".html_quote($days)." \
days:</a></h3>"; +&print_bug_fixers_list($tops, $days, "HTML");
--- trunk/bugs/bugz/weekly-summary-utils.pl #421375:421376
@@ -408,14 +408,14 @@
$user = html_quote($user);
if ($format eq "HTML") {
- my $html_elapsed = "$elapsed seconds";
- $html_elapsed = int($elapsed/60) . " minutes" if ($elapsed > 60);
- $html_elapsed = int($elapsed/(60*60)) . " hours" if ($elapsed > 600);
- $html_elapsed = int($elapsed/(60*60*24)) . " days" if ($elapsed > \
(36*60*60)); + my $html_elapsed = "${elapsed}s";
+ $html_elapsed = int($elapsed/60) . " min" if ($elapsed > 60);
+ $html_elapsed = int($elapsed/(60*60)) . " h" if ($elapsed > \
(4*60*60)); + $html_elapsed = int($elapsed/(60*60*24)) . " days" if \
($elapsed > (58*60*60)); print <<FIN;
<tr>
<td>$user</td>
- <td style="text-align:right;">$html_elapsed (bug <a \
href="show_bug.cgi?id=$bugid">$bugid</a>)</td> + <td \
style="text-align:left;">$html_elapsed (<a \
href="show_bug.cgi?id=$bugid">$bugid</a>)</td> </tr>
FIN
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic