[Rt-commit] [svn] r1588 - in rtir/branches/1.1-TESTING: etc
html/RTIR/Elements
leira at pallas.eruditorum.org
leira at pallas.eruditorum.org
Wed Sep 29 20:34:48 EDT 2004
Author: leira
Date: Wed Sep 29 20:34:48 2004
New Revision: 1588
Modified:
rtir/branches/1.1-TESTING/etc/RTIR_Config.pm
rtir/branches/1.1-TESTING/html/RTIR/Elements/ShowChildren
Log:
RT-Ticket: 6113
RT-Status: resolved
RT-Action: correspond
ShowChildren now has configurable format strings.
Modified: rtir/branches/1.1-TESTING/etc/RTIR_Config.pm
==============================================================================
--- rtir/branches/1.1-TESTING/etc/RTIR_Config.pm (original)
+++ rtir/branches/1.1-TESTING/etc/RTIR_Config.pm Wed Sep 29 20:34:48 2004
@@ -203,6 +203,24 @@
'__DueRelative__',
},
+ ChildReport => qq{'<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
+ '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/Title:Subject',
+ '<I>__CustomField.Incident Reports.{_RTIR_State}__</I>/Title:State',
+ __DueRelative__,
+ },
+
+ ChildInvestigation => qq{'<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
+ '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/Title:Subject',
+ '<I>__CustomField.Investigations.{_RTIR_State}__</I>/Title:State',
+ __DueRelative__,
+ },
+
+ ChildBlock => qq{'<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
+ '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/Title:Subject',
+ '<I>__CustomField.Blocks.{_RTIR_State}__</I>/Title:State',
+ __DueRelative__,
+ },
+
},
);
Modified: rtir/branches/1.1-TESTING/html/RTIR/Elements/ShowChildren
==============================================================================
--- rtir/branches/1.1-TESTING/html/RTIR/Elements/ShowChildren (original)
+++ rtir/branches/1.1-TESTING/html/RTIR/Elements/ShowChildren Wed Sep 29 20:34:48 2004
@@ -57,11 +57,8 @@
% }
<%INIT>
-$Format = $RT::RTIRSearchResultFormats->{'DueIncidents'};
-$Format = qq{'<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
- '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/Title:Subject',
- '<I>__CustomField.$Queue.{_RTIR_State}__</I>/Title:State',
- __DueRelative__};
+my ($Type, undef) = $m->comp("/RTIR/Elements/Type", Queue => $Queue);
+$Format = $RT::RTIRSearchResultFormats->{'Child' . $Type};
if ($Delete) {
$Format = "___RTIR_Check__, " . $Format;
More information about the Rt-commit
mailing list