Modify

Opened 3 years ago

Closed 3 years ago

#13981 closed enhancement (fixed)

Create Jinja2 templates

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: TicketFieldFilterPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

With Trac 1.4 Genshi is deprecated as a template engine and support will be removed with 1.6.

To use the plugin for Trac releses > 1.4.x a Jinja2 version of each template must be created.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Cinc-th

[18100]:

TicketFieldFilterPlugin: added Jinja2 templates.

  • General improvements to templates.
  • Fix for problem with Trac 1.4 where selected items on the admin page were not recognized on save.
  • Fixed logic problem with selected fields on the admin page when all ticket fields were enabled.
  • Fixed logic problem with selected readonly fields on the admin page when all readonly fields were checked.
  • Fixed problem where the last permission setting couldn't be removed.

comment:2 Changed 3 years ago by Cinc-th

Resolution: fixed
Status: newclosed

In 18101:

TicketFieldFilterPlugin: no longer use filter_stream() from ITemplateStreamFilter for hiding fields. The plugin no longer needs Genshi.

Closes #13981

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.