[Rt-commit] r6494 - rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Prefs

clkao at bestpractical.com clkao at bestpractical.com
Wed Nov 22 05:28:15 EST 2006


Author: clkao
Date: Wed Nov 22 05:28:14 2006
New Revision: 6494

Modified:
   rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Prefs/MyRT.html

Log:
Display search type as part of the portlet name in MyRT prefs.

Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Prefs/MyRT.html	(original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Prefs/MyRT.html	Wed Nov 22 05:28:14 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