[Rt-commit] r9038 - in rt/branches/3.7-EXPERIMENTAL: t
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Sep 13 11:50:45 EDT 2007
Author: sunnavy
Date: Thu Sep 13 11:50:45 2007
New Revision: 9038
Modified:
rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky
rt/branches/3.7-EXPERIMENTAL/t/clicky.t
Log:
the [] of `[Open URL]' is not in the <a> tag.
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky Thu Sep 13 11:50:45 2007
@@ -55,8 +55,7 @@
},
url => sub {
my %args = @_;
- my $result = qq{[<a target="new" href="$args{value}">}. '[' .
- loc('Open URL') . ']' .qq{</a>]};
+ my $result = qq{[<a target="new" href="$args{value}">}. loc('Open URL') .qq{</a>]};
return $args{value} . qq{ <span class="clickylink">$result</span>};
},
url_overwrite => sub {
Modified: rt/branches/3.7-EXPERIMENTAL/t/clicky.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/t/clicky.t (original)
+++ rt/branches/3.7-EXPERIMENTAL/t/clicky.t Thu Sep 13 11:50:45 2007
@@ -52,7 +52,7 @@
my @links = $m->find_link(
tag => 'a',
url => 'http://wiki.bestpractical.com',
- text => '[Open URL]',
+ text => 'Open URL',
);
ok( scalar @links, 'found clicky link' );
}
More information about the Rt-commit
mailing list