Thanks, I'll make those changes.

But did you think it would also be a good change to commit to trunk?

On Fri, Jun 22, 2012 at 4:26 AM, Paolo Caruccio
<[email protected]> wrote:
> So you could modify #navbar in layout.html
>
> For example:
>
>  <div id="navbar">
>  {{if auth.user_id:}}
>  {{=auth.navbar(separators=(', ' , ' | ' , ''))}}
>  {{else:}}
>
>  {{='auth' in globals() and auth.navbar(separators=('' , ' | ' , '')) or
> ''}}
>  {{pass}}
>  </div>
>
> When the user is logged in, after his/her name there will be a comma + 1
> space
>
> Il giorno giovedì 21 giugno 2012 18:54:25 UTC+2, Alec Taylor ha scritto:
>>
>> Reading your code example highlights the problem.
>>
>> There is no | after "Welcome paolo"
>>
>> On Fri, Jun 22, 2012 at 2:32 AM, Paolo Caruccio
>> <[email protected]> wrote:
>> > Alec,
>> >
>> > it seems that you aren't using last trunk.
>> >
>> > For example #navbar missed classes. In last trunk, indeed, we have:
>> >
>> > <div class="nav pull-right" id="navbar">
>> >     <span class="auth_navbar">Welcome paolo
>> >          <a
>> >
>> > href="/welcome/default/user/logout?_next=/welcome/default/index">Logout</a>
>> > |
>> >          <a
>> >
>> > href="/welcome/default/user/profile?_next=/welcome/default/index">Profile</a>
>> > |
>> >          <a
>> >
>> > href="/welcome/default/user/change_password?_next=/welcome/default/index">Password</a>
>> >    </span>
>> > </div>
>> >
>> > please download last trunk and try again.
>> > Il giorno giovedì 21 giugno 2012 17:53:55 UTC+2, Alec Taylor ha scritto:
>> >>
>> >> Confirmed, problem still exists.
>> >>
>> >> Here is the navbar code directly from the source generated
>> >> (post-processing to prettify only):
>> >>
>> >> http://jsfiddle.net/ucYGN/
>> >>
>> >> On Thu, Jun 21, 2012 at 7:58 PM, Paolo Caruccio
>> >> <[email protected]> wrote:
>> >> >
>> >> > Alec,
>> >> >
>> >> > could you replace the pipe with another character (i.e. "!") and see
>> >> > what
>> >> > happens?
>> >> >
>> >> > Il giorno giovedì 21 giugno 2012 06:13:01 UTC+2, Alec Taylor ha
>> >> > scritto:
>> >> >>
>> >> >> Confirmed.
>> >> >>
>> >> >> That pipe code is definitely there (just under the "<a class="brand"
>> >> >> href="#">web2py&trade;&nbsp;</a>" line).
>> >> >>
>> >> >> On Thu, Jun 21, 2012 at 5:00 AM, Paolo Caruccio
>> >> >> <[email protected]> wrote:
>> >> >> > Alec,
>> >> >> >
>> >> >> > please double check that in "views/layout.html" exists this code
>> >> >> > (note
>> >> >> > the
>> >> >> > pipe in separators):
>> >> >> >
>> >> >> > <div id="navbar">{{='auth' in globals() and
>> >> >> > auth.navbar(separators=('
>> >> >> > ',' |
>> >> >> > ','')) or ''}}</div>
>> >> >> >
>> >> >> > You should find it at line 90 in last trunk.
>> >> >> >
>> >> >> >
>> >> >> > Il giorno mercoledì 20 giugno 2012 12:59:56 UTC+2, Alec Taylor ha
>> >> >> > scritto:
>> >> >> >>
>> >> >> >> Okay, finally got around to testing it.
>> >> >> >>
>> >> >> >> Not getting any pipes.
>> >> >> >>
>> >> >> >> The right of my navbar is one long string all of the same colour:
>> >> >> >> "Welcome <username> Logout"
>> >> >
>> >> > --
>> >
>> > --
>
> --

-- 



Reply via email to