[web2py] little admin improvement

2011-08-16 Thread Richard
Hello, Consider this little change at admin app line 1195 of default controller under 1.98.2 : def update_languages(): """ Update available languages """ app = get_app() update_all_languages(apath(app, r=request)) session.flash = T('Language files (static strings) updated') r

Re: [web2py] little admin improvement

2011-08-16 Thread Anthony
On Tuesday, August 16, 2011 12:09:45 PM UTC-4, Richard wrote: > > Hello, > > Consider this little change at admin app line 1195 of default > controller under 1.98.2 : > > def update_languages(): > """ Update available languages """ > > app = get_app() > update_all_languages(apath(

Re: [web2py] little admin improvement

2011-08-16 Thread Richard Vézina
Ok, I was really sad I can't figure out how to make it works... It works now. Richard On Tue, Aug 16, 2011 at 12:18 PM, Anthony wrote: > On Tuesday, August 16, 2011 12:09:45 PM UTC-4, Richard wrote: >> >> Hello, >> >> Consider this little change at admin app line 1195 of default >> controller

Re: [web2py] little admin improvement

2011-08-16 Thread Richard Vézina
Will you add the mod to admin app? Richard On Tue, Aug 16, 2011 at 12:20 PM, Anthony wrote: > On Tuesday, August 16, 2011 12:18:53 PM UTC-4, Anthony wrote: >> >> In URL(), args and vars are url encoded. Instead, use the anchor argument: >> >> URL('design',args=app,anchor='**#languages') >> >> >

Re: [web2py] little admin improvement

2011-08-16 Thread Anthony
On Tuesday, August 16, 2011 12:18:53 PM UTC-4, Anthony wrote: > > In URL(), args and vars are url encoded. Instead, use the anchor argument: > > URL('design',args=app,anchor='#languages') > > Sorry, that should be: URL('design',args=app,anchor='languages') It will add the '#' for you.