|Version 2 (modified by 8 years ago) (diff),|
Ever wonder why Trac doesn't link to the user's home page from the first
metanav "logged in as" item? I sure did. I cannot recall having an account
on a site of some kind that didn't have this feature. So of course I set
out to create a hack to add it to Trac.
You might think, since you are parsing the DOM and checking for certain attributes and values, won't your code break if Trac changes something in the future (remember the bad old days of "screen scraping")? While this concern certainly has some merit, if you think about it it's essentially doing the same thing as a Python/Genshi approach by manipulating the page on the fly.
At any rate, this hack has no repository or download link or any of that. Just a simple code snippet. Ironically, this goes in your site.html template and it does use Genshi template markup.
If you have any issues, create a new ticket.