[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-10 Thread Massimo Di Pierro
I opened issue 1327. Can you help us fix it or post some screenshots? That would speed up the resolution. On Monday, 4 February 2013 19:53:40 UTC-6, Michael Beller wrote: Thank you - the breadcrumb now displays the field Label but I found another issue with the breadcrumbs ... I start with

[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-04 Thread Massimo Di Pierro
db.f_owner._singular = 'Owner' db.f_owner._plural = 'Owners' This should do what you ask. On Sunday, 3 February 2013 20:19:29 UTC-6, Michael Beller wrote: I can't find any way around this and it looks like this is not the desired behavior for the grid breadcrumbs. One option is to change my

[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-04 Thread Michael Beller
I already use the Singular and Plural properties for the table but the grid breadcrumbs don't appear to use them. Also, the breadcrumb uses the field name (f_owner) and not the label (Owner). Here is my model ... db.define_table('t_owner', Field('f_name', type='string', label=T('Name')),

[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-04 Thread Massimo Di Pierro
I see. You are right. I think I now fixed it in trunk. Can you please check it? On Monday, 4 February 2013 16:28:25 UTC-6, Michael Beller wrote: I already use the Singular and Plural properties for the table but the grid breadcrumbs don't appear to use them. Also, the breadcrumb uses the

[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-04 Thread Michael Beller
Thank you - the breadcrumb now displays the field Label but I found another issue with the breadcrumbs ... I start with an action manage_owners that returns a smartgrid for t_owner. If I select the View button for the first owner, e.g. Joe, I get the following link:

[web2py] Re: Is there a way to display field label or field value (vs. field name) in smartgrid breadcrumb?

2013-02-03 Thread Michael Beller
I can't find any way around this and it looks like this is not the desired behavior for the grid breadcrumbs. One option is to change my field name but that renders the label property not needed. Is there are way to control or modify the breadcrumbs? On Saturday, February 2, 2013 2:15:48 PM