summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-03-31 12:47:29 -0400
committerMitch Jackson <mitch@freeside.biz>2019-03-31 12:57:47 -0400
commit7b081112d1036437511db1227055eb1f82ebbb31 (patch)
tree8c4f6bebd29ea947782798d15f5c6b8a22b32ef7
parent52360059f2b525024d9c3e5cfd205004d00ad328 (diff)
RT# 81692 Update use of deprecated widgets in RT
-rw-r--r--rt/docs/design_docs/string-extraction-guide.txt4
-rwxr-xr-xrt/share/html/RTx/Statistics/CallsMultiQueue/index.html4
-rwxr-xr-xrt/share/html/RTx/Statistics/OpenStalled/index.html4
-rw-r--r--rt/share/html/Ticket/ModifyCustomers.html4
4 files changed, 8 insertions, 8 deletions
diff --git a/rt/docs/design_docs/string-extraction-guide.txt b/rt/docs/design_docs/string-extraction-guide.txt
index 757a270..5c77aa8 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 512d62d..17eeb5e 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"&>
<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH="100%">
% 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 &>
% }
</table>
-<& /Elements/TitleBoxEnd&>
+<& /Widgets/TitleBoxEnd&>
<!-- <td>Show:</td>
<td COLSPAN=2><SELECT NAME="status">
diff --git a/rt/share/html/RTx/Statistics/OpenStalled/index.html b/rt/share/html/RTx/Statistics/OpenStalled/index.html
index 31ef646..a59246c 100755
--- a/rt/share/html/RTx/Statistics/OpenStalled/index.html
+++ b/rt/share/html/RTx/Statistics/OpenStalled/index.html
@@ -15,7 +15,7 @@ viewed once (Open) and how many have had their status changed to stalled.</p>
%my $title = "New, Open and Stalled Tickets in " . join(', ', @queues);
-<& /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"&>
<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH="100%">
% if ($ShowHeader) {
<& /RTx/Statistics/Elements/CollectionAsTable/Header,
@@ -63,7 +63,7 @@ viewed once (Open) and how many have had their status changed to stalled.</p>
% $values{Statistics_Totals} = $totals{"Totals"};
<& /RTx/Statistics/Elements/CollectionAsTable/Row, Format => \@BoldRowFormat, i => $line+1, record => $record, maxitems => $maxitems &>
</table>
-<& /Elements/TitleBoxEnd&>
+<& /Widgets/TitleBoxEnd&>
% use Data::Dumper;
% Statistics::DebugLog("Dump of data array is " . Dumper(@data) . "\n");
diff --git a/rt/share/html/Ticket/ModifyCustomers.html b/rt/share/html/Ticket/ModifyCustomers.html
index 72d103b..ac97399 100644
--- a/rt/share/html/Ticket/ModifyCustomers.html
+++ b/rt/share/html/Ticket/ModifyCustomers.html
@@ -20,9 +20,9 @@
<form action="ModifyCustomers.html" method="post">
<input type="hidden" name="id" value="<%$Ticket->id%>">
-<& /Elements/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&>
+<& /Widgets/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&>
<& Elements/EditCustomers, Ticket => $Ticket, CustomerString => $CustomerString, ServiceString => $ServiceString &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, color => "#7f007b", Label => loc('Save Changes') &>
</form>