[Bps-public-commit] r20178 - RT-BugTracker-Public/html/Public/Dist
ruz at bestpractical.com
ruz at bestpractical.com
Wed Dec 2 03:10:59 EST 2009
Author: ruz
Date: Wed Dec 2 03:10:58 2009
New Revision: 20178
Modified:
RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html
Log:
* highlight proper Tab
Modified: RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html (original)
+++ RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html Wed Dec 2 03:10:58 2009
@@ -45,10 +45,11 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Distributions maintained by [_1]", $Name) &>
+<& /Elements/Header, Title => $title &>
<& /Public/Elements/Tabs,
- Title => loc("Distributions maintained by [_1]", $Name),
- &>
+ Title => $title,
+ current_toptab => 'Public/',
+&>
<& /Public/Elements/DistributionList, queues => $watched_queues &>
@@ -57,7 +58,7 @@
for my $method (qw(Load LoadByEmail)) {
last if $user->Id;
-
+
if ($method eq 'LoadByEmail' and $Name !~ /\@/) {
$user->$method("$Name\@cpan.org");
}
@@ -71,6 +72,8 @@
$m->abort();
}
+my $title = loc("Distributions maintained by [_1]", $Name);
+
my $watched_queues = $user->WatchedQueues('AdminCc');
</%init>
More information about the Bps-public-commit
mailing list