On Thursday, December 22, 2011 10:23:59 PM UTC-5, Thomas Dall'Agnese wrote:
>
> Hi there,
>
> Is there a way to change the field displayed in the "Welcome" block on the 
> top right without changing web2py source code?
> I looked at the code and we can change the "Welcome" text by defining the 
> prefix="Howdy" or whatever you want to replace the default "Welcome", but 
> is there a way to change the fact that the First Name is displayed then?
> For example displaying the Last Name or the Username?
>

Maybe we should make that more customizable. For now, maybe:

{{auth.user.first_name = auth.user.last_name}}
{{=auth.navbar()}}

You may need to switch first_name back to its original value after that.

Anthony

Reply via email to