diff --git a/lib/WebGUI/Asset/Redirect.pm b/lib/WebGUI/Asset/Redirect.pm index e82fc4d54..44ff2e038 100644 --- a/lib/WebGUI/Asset/Redirect.pm +++ b/lib/WebGUI/Asset/Redirect.pm @@ -86,7 +86,7 @@ sub getEditForm { my $tabform = $self->SUPER::getEditForm(); $tabform->getTab("properties")->url( -name=>"redirectUrl", - -label=>WebGUI::International::get('redirect url', 'Asset'), + -label=>WebGUI::International::get('redirect url', 'Redirect'), -value=>$self->getValue("redirectUrl") ); return $tabform; diff --git a/lib/WebGUI/Help/Asset.pm b/lib/WebGUI/Help/Asset.pm index d6f00bf36..0ae1247cb 100644 --- a/lib/WebGUI/Help/Asset.pm +++ b/lib/WebGUI/Help/Asset.pm @@ -20,28 +20,6 @@ our $HELP = { ] }, - 'redirect add/edit' => { - title => 'redirect add/edit title', - body => 'redirect add/edit body', - related => [ - { - tag => 'asset fields', - namespace => 'Asset' - }, - ] - }, - - 'file add/edit' => { - title => 'file add/edit title', - body => 'file add/edit body', - related => [ - { - tag => 'asset fields', - namespace => 'Asset' - }, - ] - }, - 'metadata manage'=> { title => 'content profiling', body => 'metadata manage body', @@ -78,6 +56,7 @@ our $HELP = { }, ], }, + }; 1; diff --git a/lib/WebGUI/Help/Redirect.pm b/lib/WebGUI/Help/Redirect.pm new file mode 100644 index 000000000..92bd8696c --- /dev/null +++ b/lib/WebGUI/Help/Redirect.pm @@ -0,0 +1,18 @@ +package WebGUI::Help::Redirect; + +our $HELP = { + + 'redirect add/edit' => { + title => 'redirect add/edit title', + body => 'redirect add/edit body', + related => [ + { + tag => 'asset fields', + namespace => 'Asset' + }, + ] + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index e79751ffd..68dd783cb 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -169,29 +169,6 @@ argument. lastUpdated => 1106762073, }, - 'redirect url' => { - message => q|Redirect URL|, - lastUpdated => 1104719740, - context => 'Default name of all redirects' - }, - - 'redirect add/edit title' => { - message => q|Page Redirect, Add/Edit|, - lastUpdated => 1104630516, - }, - - 'redirect add/edit body' => { - message => q| -
The Page Redirect Asset causes the user's browser to be redirected to another page. It does this if it is viewed standalone, as part of a Layout Asset, or proxied via a macro.
-NOTE: The redirection will be disabled while in admin mode in order to allow editing the properties of the page.
-
-Redirect URL
-The URL where the user will be redirected.
-
The Page Redirect Asset causes the user's browser to be redirected to another page. It does this if it is viewed standalone, as part of a Layout Asset, or proxied via a macro.
+NOTE: The redirection will be disabled while in admin mode in order to allow editing the properties of the page.
+
+Redirect URL
+The URL where the user will be redirected.
+