[Rt-commit] r6560 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Dec 1 13:52:29 EST 2006


Author: jesse
Date: Fri Dec  1 13:52:28 2006
New Revision: 6560

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/Prefs/MyRT.html

Log:
 r45284 at pinglin (orig r6494):  clkao | 2006-11-22 05:28:14 -0500
 Display search type as part of the portlet name in MyRT prefs.


Modified: rt/branches/3.6-RELEASE/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Prefs/MyRT.html	(original)
+++ rt/branches/3.6-RELEASE/html/Prefs/MyRT.html	Fri Dec  1 13:52:28 2006
@@ -111,7 +111,9 @@
 	}
 	else {
 	    my $oid = ref($object).'-'.$object->Id.'-SavedSearch-'.$search->Id;
-	    push @items, ["saved-$oid", "Saved Search: $desc"];
+	    my $type = ($SearchType eq 'Ticket')
+		? 'Saved Search' : $SearchType; # loc
+	    push @items, ["saved-$oid", loc($type).": $desc"];
 	}
     }
 }


More information about the Rt-commit mailing list