From: Mitch Jackson Date: Sun, 31 Mar 2019 16:47:29 +0000 (-0400) Subject: RT# 81692 Update use of deprecated widgets in RT X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f00e8e20ff518289fb29275eb3ec51d7b6bc1e26 RT# 81692 Update use of deprecated widgets in RT --- diff --git a/rt/docs/design_docs/string-extraction-guide.txt b/rt/docs/design_docs/string-extraction-guide.txt index 757a27014..5c77aa8af 100644 --- a/rt/docs/design_docs/string-extraction-guide.txt +++ b/rt/docs/design_docs/string-extraction-guide.txt @@ -63,9 +63,9 @@ that this will genereate code which will not work in RT 2.1.3. I need to add a bit of framework to make it work in 2.1.4 -The string <& /Elements/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for ". RT->Config->Get('rtname'), title => 'Login' &> +The string <& /Widgets/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for ". RT->Config->Get('rtname'), title => 'Login' &> -should become <& /Elements/TitleBoxStart, +should become <& /Widgets/TitleBoxStart, width=> "40%", titleright => loc("RT [_1] for [_2]",$RT::VERSION, RT->Config->Get('rtname')), title => loc('Login'), diff --git a/rt/share/html/RTx/Statistics/CallsMultiQueue/index.html b/rt/share/html/RTx/Statistics/CallsMultiQueue/index.html index 512d62d26..17eeb5e1d 100755 --- a/rt/share/html/RTx/Statistics/CallsMultiQueue/index.html +++ b/rt/share/html/RTx/Statistics/CallsMultiQueue/index.html @@ -21,7 +21,7 @@ The line chart below shows the same information in a graphical form. % Statistics::FormatDate($Statistics::PerDayDateFormat, $dates[0]) . " through " . % Statistics::FormatDate($Statistics::PerDayDateFormat, $dates[$#dates-1]); -<& /Elements/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&> +<& /Widgets/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&> % if ($ShowHeader) { <& /RTx/Statistics/Elements/CollectionAsTable/Header, @@ -97,7 +97,7 @@ The line chart below shows the same information in a graphical form. <& /RTx/Statistics/Elements/CollectionAsTable/Row, Format => \@RowFormat, i => $line, record => $record, maxitems => $maxitems &> % }
-<& /Elements/TitleBoxEnd&> +<& /Widgets/TitleBoxEnd&>