I've uploaded the patch that fixed this.
http://trac.turbogears.org/ticket/2033#comment:5
Could somebody commit it.
Thanks,
Lucas
On Tue, Nov 18, 2008 at 12:15 AM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote:
> Hello,
>
> It seems as default templates don't use url_for. I didn't check the
> identity templates but here is a way to fix this:
>
> FIX:
> the default templates will need to change
> In lib/helpers.py the following will need to be imported:
> from routes import url_for
>
> In master.html a css stylesheet will need to be changed to:
> <link rel="stylesheet" type="text/css" media="screen"
> href="${h.url_for('/css/style.css')}" />
>
> footer.html:
> <img src="${h.url_for('/images/under_the_hood_blue.png')}" alt="TurboGears"
> />
>
>
> header.html
> <img src="${h.url_for('/images/logo.png')}" alt="TG2!"/>
>
> possibly login.html
>
> Thanks,
> Lucas
>
--
Turbogears2 Manual
http://lucasmanual.com/mywiki/TurboGears2
Bazaar and Launchpad
http://lucasmanual.com/mywiki/bzr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---