[Rt-commit] r11663 - in rt/branches/3.8-TESTING: html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Wed Apr 9 11:34:56 EDT 2008


Author: jesse
Date: Wed Apr  9 11:34:55 2008
New Revision: 11663

Added:
   rt/branches/3.8-TESTING/html/Elements/ShowCustomFieldText
Modified:
   rt/branches/3.8-TESTING/   (props changed)

Log:
 r29545 at 31b:  jesse | 2008-04-09 11:34:36 -0400
 RT-Ticket: 9145
 RT-Status: resolved
 RT-Update: correspond
 
 * Applied a patch from Brian Nelson to add better display of "large text" 
   custom fields.
 


Added: rt/branches/3.8-TESTING/html/Elements/ShowCustomFieldText
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/Elements/ShowCustomFieldText	Wed Apr  9 11:34:55 2008
@@ -0,0 +1,9 @@
+<%init>
+ my $content = $Object->LargeContent || $Object->Content;
+ $content = $m->comp('/Elements/ScrubHTML', Content => $content);
+ $content =~ s|\n|<br />|g;
+</%init>
+<%$content|n%>
+<%ARGS>
+$Object
+</%ARGS>


More information about the Rt-commit mailing list