[Rt-commit] r7268 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Mon Mar 19 12:37:33 EDT 2007
Author: ruz
Date: Mon Mar 19 12:37:33 2007
New Revision: 7268
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
Log:
r4757 at cubic-pc: cubic | 2007-03-19 18:36:49 +0300
* Web* options are not that special to handle them in the different way
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap Mon Mar 19 12:37:33 2007
@@ -66,12 +66,7 @@
return sub { $COLUMN_MAP->{$mainkey}->{$attr}->( @_, $subkey ) };
}
- elsif ( $name =~ /^(WebPath|WebBaseURL|WebURL)$/ ) {
- if ( $attr eq 'value' ) {
- my $value = RT->Config->Get($1);
- return sub { return \$value };
- }
- }
+
};
my $LinkCallback = sub {
@@ -285,6 +280,12 @@
$_ => { value => $LinkCallback->( $_ ) }
} keys %RT::Ticket::LINKTYPEMAP),
+ (map {
+ my $value = RT->Config->Get($_);
+ $_ => { value => sub { return \$value } };
+
+ } qw(WebPath WebBaseURL WebURL)),
+
'_CLASS' => {
value => sub { return $_[1] % 2 ? 'oddline' : 'evenline' }
},
More information about the Rt-commit
mailing list