[rt-devel] anonymous techs..

Alex Krohn alex at gossamer-threads.com
Thu Dec 13 14:41:53 EST 2001


Hi,

Any chance of adding the patch below in so that we can give techs
meaningful usernames, but still hide their names from communication with
users? 

Basically, it uses NickName first, then Name (and we just set NickName
to 'tech'). It might be a better idea to have the quote a template
instead so you can format it however you like.

[root at alex RT]# diff /usr/local/src/rt-2-0-9/lib/RT/Attachment.pm Attachment.pm 
297c297
<       $body = '[' . $self->TransactionObj->CreatorObj->Name() . ' - ' . $self->TransactionObj->CreatedAsString()
---
>       $body = '[' . ($self->TransactionObj->CreatorObj->NickName() || $self->TransactionObj->CreatorObj->Name) . ' - ' . $self->TransactionObj->CreatedAsString()

Cheers,

Alex

--------------------  Gossamer Threads Inc.  ----------------------
Alex Krohn                        Email: alex at gossamer-threads.com
Internet Consultant               Phone: (604) 687-5804
http://www.gossamer-threads.com   Fax  : (604) 687-5806





More information about the Rt-devel mailing list