Modify

Opened 4 years ago

Last modified 3 years ago

#6762 new defect

Configuration support

Reported by: anonymous Owned by: XayOn
Priority: normal Component: MultiTracStatisticsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I attach a file with some changes and refactoring code and also includes support for configuring the macro.
For example (in trac.ini):

[wstats]
env_parent_dir = /path/to/trac/environments
trac_url = / 
label_today = Today
label_yesterday = Yesterday Tickets
label_older = Older
label_monthly = Monthly

Regards,
Sebastián

Attachments (2)

multitracstatistics-r6041.patch.tgz (3.1 KB) - added by anonymous 4 years ago.
multitracstatistics-r6041.patched.tgz (2.6 KB) - added by anonymous 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by anonymous

Changed 4 years ago by anonymous

comment:1 Changed 3 years ago by anonymous

Hi. I get this error: Error: Macro Wstats(None) failed
2No such file or directory.

Is it related to these values?
env_parent_dir = /path/to/trac/environments
trac_url = /

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.