Opened 11 years ago
Closed 9 years ago
#11199 closed defect (wontfix)
Auto preview ignores site.html customizations
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 1.0.1 |
Severity: | normal | Keywords: | verify |
Cc: | Ryan J Ollos, leho@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
We have a fairly complex site.html file which is used to customize different pieces of Trac. We recognize that things may break from release to release, and we test and migrate it with every release.
In site.html, we add gravatars to comments. The new auto preview code in 1.0 broke this, as it loads ticket_preview/ticket_box/ticket_change.html directly, without any opportunity for site.html to modify it.
If this is a wontfix/not a bug, that's fine. It was just very unexpected. We will modify our code to overload ticket_change.html directly.
Attachments (0)
Change History (6)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Keywords: | verify added |
Milestone: | → undecided |
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
I assume you are referring to the Wordpress Trac, which is currently displaying Gravatars on the ticket page, even during autopreview. Is there a patch you'd like to propose?
comment:5 by , 9 years ago
I suggest wontfix. site.html
cannot solve it. The site.html
would be applied to only templates including layout.html
.
Modifying the author fields could be solved by replacing authorinfo
via post_process_request
as a Trac plugin, or put customized ticket_box.html
and ticket_change.html
to your Trac Environment.
comment:6 by , 9 years ago
Milestone: | undecided |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Are there any files you could provide to directly support testing the scenario?