[rt-devel] Option for Priority labels ...

Eric Berggren ericb at fpt.fujitsu.com
Tue Feb 26 14:50:12 EST 2002


  I was going to investigate adding an option (config.pm) to select the
presentation of the case priority as a label name rather than (just) as
a raw number. Internally, it would remain the same, but when this option is
enabled, it will display specified labels (also in the config.pm) instead
or in addition to the numeric setting, and pull-downs would be offered to
change the priority by these (custom) labels :

	# e.g. labels to use; Low < 20; General < 40; High < 60; etc...
	%PriorityLabels = { 'None' => 0, 'Low' => 1, 'General' => 20,
                            'High' => 40, 'Zesty' => 60, 'FireHot' => 80 };

	$PriorityType = 0;   # 0 - integer; 1 - labels; other - both


  Any thoughts/comments on this hack ?

regards,
-eric
--
Fujitsu Processor Technologies, Inc.
 (Lawrence System Integration, Inc.)





More information about the Rt-devel mailing list