On 1/08/2014 5:52 PM, RjOllos wrote:


On Thursday, July 31, 2014 4:02:25 AM UTC-7, Mike Dewhirst wrote:

    I have a problem with the terminology used in Trac and I wonder how to
    fix it so it makes sense to me.

    In Trac out of the box ...

    "Owner" is the developer to whom the ticket is assigned for work.

    In my project ...

    "Owner" is the person who wants the ticket payload - the fixed bug or
    the enhancement - IOW the person who accepts or rejects the payload.

    So the fix seems to me to change the Trac "Owner" to "Developer"
    (presumably in the template) and add another field/column for my
    project's "owner", perhaps "customer".

    However, it looks like a major adjustment and maybe going against the
    flow because I need to use the workflow plugin

    Does anyone have any ideas?

    Thanks

    Mike



You can use an ITemplateStreamFilter to replace "Owner" with
"Developer". See example here:
https://groups.google.com/d/msg/trac-users/EOfAlxo-dMc/yjMQ3m7-nXYJ

Ok got it  - or at least some of it.

This worked in site.html ...

    <py:match path="//th[@id='h_owner']">
      <th id="h_owner">Developer:</th>
    </py:match>

BUT

The next problem is a hint generated by default_workflow.py. It contains the dreaded words "The owner will be changed" in four places and in each and is added the userid(s) of the owner(s) concerned.

I have had a look at XPath and there is py:replace but it wants to replace an entire string. It doesn't seem to permit what I want.

Maybe I should write a tool to patch the source so at least I can run it each time I update trac.

Is there another way?

Thanks

Mike

<snip>



--
You received this message because you are subscribed to the Google
Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to