Re: [Trac] ticket_notify_email.txt for Jinja2

2021-04-19 Thread RjOllos
On Monday, April 19, 2021 at 7:52:01 AM UTC-7 steel...@raidoh.com wrote: > Hi Ryan, > Thanks for the response, but I don't think that's the issue. I'd put > ticket_notify_email.txt in $ENV/templates and the file and templates > directory are both the same permissions as the rest of the files.

Re: [Trac] ticket_notify_email.txt for Jinja2

2021-04-19 Thread Steel Rides
Hi Ryan, Thanks for the response, but I don't think that's the issue. I'd put ticket_notify_email.txt in $ENV/templates and the file and templates directory are both the same permissions as the rest of the files. I'm only working with a single environment. I'd added the directories under

Re: [Trac] ticket_notify_email.txt for Jinja2

2021-04-16 Thread RjOllos
On Friday, April 16, 2021 at 2:29:49 PM UTC-7 steel...@raidoh.com wrote: > @Mo, did you figure out where the ticket_notify_email.txt is supposed to > be to allow modifications? > The template should be in $env/templates, but there are other options as well if you want to share the template

Re: [Trac] ticket_notify_email.txt for Jinja2

2021-04-16 Thread Steel Rides
@Mo, did you figure out where the ticket_notify_email.txt is supposed to be to allow modifications? On Wednesday, January 15, 2020 at 8:53:04 AM UTC-5 Mo wrote: > On Trac-1.4 I followed > https://trac.edgewall.org/wiki/CookBook/Notification/Templates#jinja2 > > and have a

Re: [Trac] ticket_notify_email.txt for Jinja2

2020-01-15 Thread Jun Omae
First, please share ticket notification mail without custom template. On Wed, Jan 15, 2020 at 22:53 Mo wrote: > On Trac-1.4 I followed > https://trac.edgewall.org/wiki/CookBook/Notification/Templates#jinja2 > > and have a $PROJECT_ENV/templates/ticket_notify_email.txt like this: > >

Re: [Trac] ticket_notify_email.txt for Jinja2

2020-01-15 Thread Mo
On Trac-1.4 I followed https://trac.edgewall.org/wiki/CookBook/Notification/Templates#jinja2 and have a $PROJECT_ENV/templates/ticket_notify_email.txt like this: ${ticket_body_hdr} # set sel = ('Reporter', 'Owner', 'Type', 'Status', 'Priority', 'Milestone', 'Component', 'Severity',

Re: [Trac] ticket_notify_email.txt for Jinja2

2019-11-28 Thread Jun Omae
On Thu, Nov 28, 2019 at 6:50 PM Mo wrote: > > Am Montag, 25. November 2019 16:41:35 UTC+1 schrieb RjOllos: >> >> In your example, are owner and reporter the same user? I would check first >> if "Foo" has a full name set in preferences. The fallback is to use username >> when full name is not

Re: [Trac] ticket_notify_email.txt for Jinja2

2019-11-28 Thread Mo
Am Montag, 25. November 2019 16:41:35 UTC+1 schrieb RjOllos: > > > In your example, are owner and reporter the same user? I would check first > if "Foo" has a full name set in preferences. The fallback is to use > username when full name is not set. > In my example, the owner and reporter is

Re: [Trac] ticket_notify_email.txt for Jinja2

2019-11-25 Thread Ryan Ollos
On Mon, Nov 25, 2019 at 3:07 AM Mo wrote: > > Am Montag, 25. November 2019 04:28:39 UTC+1 schrieb Jun Omae: > >> Since Trac 1.2, username in the fields is displayed using full name of >> the user. >> If you don't want the feature, set disable to [trac] show_full_names >> option. >> >> See

Re: [Trac] ticket_notify_email.txt for Jinja2

2019-11-25 Thread Mo
Am Montag, 25. November 2019 04:28:39 UTC+1 schrieb Jun Omae: > Since Trac 1.2, username in the fields is displayed using full name of the > user. > If you don't want the feature, set disable to [trac] show_full_names > option. > > See https://trac.edgewall.org/ticket/7339. > So why

Re: [Trac] ticket_notify_email.txt for Jinja2

2019-11-24 Thread Jun Omae
On Fri, Nov 22, 2019 at 9:37 PM Mo wrote: > > I'm working on a new template for Jinja2 to get a better result on MS Outlook: > > https://trac.edgewall.org/wiki/CookBook/Notification/Templates#jinja2 > With this template I wonder, why I get the following output for user name > "Foo Bar": > >

[Trac] ticket_notify_email.txt for Jinja2

2019-11-22 Thread Mo
I'm working on a new template for Jinja2 to get a better result on MS Outlook: https://trac.edgewall.org/wiki/CookBook/Notification/Templates#jinja2 With this template I wonder, why I get the following output for user name "Foo Bar":