How to make queue Admin Ccs visible in People section of ticket display?

Hi there,

We noticed that only the Admin Cc (and Cc for that matter) that are
manually added to a ticket
are listed in the People section.
We would like to be able to see the Admin Cc configured for each queue
in the People section
of the ticket display and EditPeople.html as well, so that users don’t
add duplicate AdminCcs.

I tried just to copy those two lines from Admin/Queues/People.html

<&|/l&>Administrative Cc</&>:
<& /Admin/Elements/EditQueueWatchers, QueueObj => $QueueObj, Watchers
=> $QueueObj->AdminCc &>

into EditPeople.html. But after restarting apache it complained about
QueueObj not being defined.

Can somebody give me a hint how to get this to work?

Thank you
Doro

To my answer my own question:

I forgot to pass QueueObj as an argument to EditPeople in the calling
web page ModifyAll.html.

Doro2008/9/15 Dorothea Muecke-Herzberg dorotheamuecke@googlemail.com:

Hi there,

We noticed that only the Admin Cc (and Cc for that matter) that are
manually added to a ticket
are listed in the People section.
We would like to be able to see the Admin Cc configured for each queue
in the People section
of the ticket display and EditPeople.html as well, so that users don’t
add duplicate AdminCcs.

I tried just to copy those two lines from Admin/Queues/People.html

<&|/l&>Administrative Cc</&>:
<& /Admin/Elements/EditQueueWatchers, QueueObj => $QueueObj, Watchers
=> $QueueObj->AdminCc &>

into EditPeople.html. But after restarting apache it complained about
QueueObj not being defined.

Can somebody give me a hint how to get this to work?

Thank you
Doro

Attached is a patch for displaying this information with the ticket.
I find it more useful to show this here, as a of recipients reminder for users.
Cambridge Energy Alliance: Save money & the planet

display.patch (1.31 KB)