I thinks it's better to hide in the template, but it's not so trivial,
because the template is generic.
One quick "hack" to hide the Cc is to edit
/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py (version 9.6)
in line 111:
Original:
<code>
for field in ticket.fields:
name = field['name']
del field['name']
if name in ('summary', 'reporter', 'description', 'type',
'status', 'resolution'):
field['skip'] = True
</code>
With the little "hack":
<code>
for field in ticket.fields:
name = field['name']
del field['name']
if name in ('summary', 'reporter', 'description', 'type',
'status', 'resolution', 'cc'):
field['skip'] = True
</code>
The "skip" will hide the field.
Salveti
On 9/26/06, Rainer Sokoll <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to hide/disable Cc for a new ticket. If I am correct, new tickets
> are created by using newticket.cs - but unfortunataly, I am totally new
> to ClearSilver.
> Can someone please point me into the right direction?
>
> Thanks,
> Rainer
>
> >
>
--
Ricardo Salveti
Free Software Evangelist
"Free software is a matter of liberty not price.
You should think of 'free' as in 'free speech' and not as 'free beer'."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---