*** lib/TWiki/Render.pm.orig Tue Jan 4 11:40:32 2005
--- lib/TWiki/Render.pm Tue Jan 4 11:42:52 2005
***************
*** 192,205 ****
my $date = $moved{"date"};
$date = TWiki::formatTime( $date, "", "gmtime" );
# Only allow put back if current web and topic match stored information
my $putBack = "";
if( $web eq $toWeb && $topic eq $toTopic ) {
$putBack = " - put it back";
}
! $text = "$to moved from $from on $date by $by $putBack";
}
return $text;
--- 192,219 ----
my $date = $moved{"date"};
$date = TWiki::formatTime( $date, "", "gmtime" );
+ # TWiki:Codev/TopicMovedMessageTooVisible
+ my $action = "";
+ if( $fromWeb eq $toWeb ) {
+ $action = "renamed";
+ } else {
+ $action = "moved";
+ }
+
# Only allow put back if current web and topic match stored information
my $putBack = "";
if( $web eq $toWeb && $topic eq $toTopic ) {
$putBack = " - revert to its old name";
+ } else {
+ $putBack .= "confirm=on\">put it back";
+ }
$putBack .= "confirm=on\">put it back";
}
! $text = "$to $action from $from on $date by $by $putBack";
}
return $text;