#8898 closed defect (fixed)
yui_base_url not honored in templates ?
Reported by: | Christian Masopust | Owned by: | Roberto Longobardi |
---|---|---|---|
Priority: | low | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Alltough the stats.py defines an option "yui_base_url", this option is not used within the templates (testmanagerstats.html still includes scripts directly from yui.yahooapis.com).
I would prefere to have the yui local installed (as intended by adding the option in stats.py :-)) as not all of our clients always have connection to the internet...
Attachments (2)
Change History (6)
comment:1 follow-up: 3 Changed 13 years ago by
Changed 13 years ago by
Attachment: | 8898.2.zip added |
---|
comment:3 Changed 13 years ago by
Replying to seccanj:
Hi Christian, I've cleaned this up :D In my initial copy/paste from the TracTicketStatsPlugin I didn't bother about this detail, but if it's there it must be useful right? :)
You can find in attachment a zip file with the modified versions of two files.
Replace them in the plugin source tree and rebuild.
Please, note that I have modified the options stanza name to be specified in trac.ini to "testmanager" (instead of "teststats").
For example, to set the library to the latest 2.0 release:
[testmanager] yui_base_url = http://yui.yahooapis.com/2.9.0Let me know if this works.
Ciao, Roberto
Hi Robert,
works perfect!!
Thanks a lot for the quick response!
Christian
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
No problem!
Also, I'm enriching the set of charts in this test statistics page, according to this enhancement request #8875.
You'll see them pretty soon in next release 1.4.6.
If you have any comments or ideas about it, feel free to post on that ticket.
Ciao, Roberto
Hi Christian, I've cleaned this up :D In my initial copy/paste from the TracTicketStatsPlugin I didn't bother about this detail, but if it's there it must be useful right? :)
You can find in attachment a zip file with the modified versions of two files.
Replace them in the plugin source tree and rebuild.
Please, note that I have modified the options stanza name to be specified in trac.ini to "testmanager" (instead of "teststats").
For example, to set the library to the latest 2.0 release:
Let me know if this works.
Ciao, Roberto