Simon Johansson commited on 2008-06-06 00:57:59
Zeige 1 geänderte Dateien mit 7 Einfügungen und 4 Löschungen.
| ... | ... |
@@ -66,11 +66,10 @@ sub do_status(\%$$) {
|
| 66 | 66 |
$HTMLBASE, $htmlfile; |
| 67 | 67 |
}; |
| 68 | 68 |
|
| 69 |
- ${$_[0]}{$priority}->{$path}->{'data'} = sprintf '<th>%s</th>
|
|
| 70 |
- <td%s>Revision %s%s<br> |
|
| 69 |
+ my $cell_path = sprintf '<th>%s</th>', $path; |
|
| 70 |
+ my $cell_en = sprintf '<td%s>Revision %s%s<br> |
|
| 71 | 71 |
<a href="https://svn.torproject.org/cgi-bin/viewcvs.cgi/website/trunk/%sen/%s?root=Tor&view=markup">HEAD</a> |
| 72 | 72 |
%s', |
| 73 |
- $path, |
|
| 74 | 73 |
($obs ? ' bgcolor="#D3D3D3"' : ''), |
| 75 | 74 |
$files{'en'}->{$file}->{'rev'},
|
| 76 | 75 |
($obs ? ' (obsolete)' :''), |
| ... | ... |
@@ -78,6 +77,7 @@ sub do_status(\%$$) {
|
| 78 | 77 |
$file, |
| 79 | 78 |
$validatorlink; |
| 80 | 79 |
|
| 80 |
+ ${$_[0]}{$priority}->{$path}->{'data'} = $cell_path . $cell_en;
|
|
| 81 | 81 |
${$_[0]}{$priority}->{$path}->{'urgency'} = 0;
|
| 82 | 82 |
|
| 83 | 83 |
for my $lang (@LANGUAGES) {
|
| ... | ... |
@@ -138,6 +138,8 @@ sub do_status(\%$$) {
|
| 138 | 138 |
}; |
| 139 | 139 |
delete $files{$lang}->{$file};
|
| 140 | 140 |
}; |
| 141 |
+ |
|
| 142 |
+ ${$_[0]}{$priority}->{$path}->{'data'} .= $cell_en . $cell_path;
|
|
| 141 | 143 |
}; |
| 142 | 144 |
}; |
| 143 | 145 |
|
| ... | ... |
@@ -177,7 +179,8 @@ sub sort_and_print(\%) {
|
| 177 | 179 |
print "<table border=1>\n"; |
| 178 | 180 |
print "<tr>\n"; |
| 179 | 181 |
print "<th>File</th>\n"; |
| 180 |
- printf("<th>%s (%s)</th>\n", $_, $LANGUAGES{$_}) for ('en', grep { $_ ne 'en' } @LANGUAGES);
|
|
| 182 |
+ printf("<th>%s (%s)</th>\n", $_, $LANGUAGES{$_}) for ('en', grep({ $_ ne 'en' } @LANGUAGES), 'en');
|
|
| 183 |
+ print "<th>File</th>\n"; |
|
| 181 | 184 |
print "</tr>\n"; |
| 182 | 185 |
|
| 183 | 186 |
for my $row (sort {$rows{$priority}->{$b}->{'urgency'} <=> $rows{$priority}->{$a}->{'urgency'}} keys %{$rows{$priority}}) {
|
| 184 | 187 |