Modify

Opened 5 years ago

Closed 18 hours ago

#13816 closed task (fixed)

Convert templates to Jinja2

Reported by: figaro Owned by:
Priority: normal Component: LogViewerPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description (last modified by Ryan J Ollos)

In logviewer.html update line:

<div py:for="entry in us_log" class="${entry['level']}">${entry['line']}</div>

to:

<div py:for="logline in us_log" class="${logline['level']}">${logline['line']}</div>

Attachments (0)

Change History (13)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 years ago by Ryan J Ollos

Owner: changed from izzy to Ryan J Ollos
Status: newaccepted

comment:3 Changed 5 years ago by Ryan J Ollos

In 17736:

TracLogViewer 0.4dev: Refactor

Start adapting to Trac 1.4 API.

Refs #13816.

comment:4 Changed 5 years ago by Ryan J Ollos

Needs template converted to Jinja2 and some more code rework.

comment:5 Changed 5 years ago by Ryan J Ollos

In 17737:

TracLogViewer 0.4dev: Fix missing import from r17736

Refs #13816.

comment:6 Changed 5 years ago by Ryan J Ollos

In 17738:

TracLogViewer 0.4dev: Translate panel name

Refs #13816.

comment:7 Changed 5 years ago by Ryan J Ollos

Summary: Update to Trac 1.4Convert templates to Jinja2

comment:8 Changed 4 years ago by Ryan J Ollos

Status: acceptednew

comment:9 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

comment:10 in reply to:  4 Changed 3 years ago by Ryan J Ollos

Replying to Ryan J Ollos:

Needs template converted to Jinja2 and some more code rework.

This still needs to be done before the ticket can be closed.

comment:11 Changed 45 hours ago by Jun Omae

In 18670:

TracLogViewer 0.4dev: convert templates to Jinja2 (refs #13816)

comment:12 Changed 45 hours ago by Jun Omae

Keywords: patch removed

comment:13 Changed 18 hours ago by Jun Omae

Resolution: fixed
Status: newclosed

It works with Trac 1.4 and 1.6, now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
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.