Hi

It appears as though the old behavior has been restored for the link buttons on the grid rows. However, the new style still seems to be there for the link buttons in the breadcrumbs on linked .smartgrid pages. I can't seem to find where how the first case was fixed, but would like to see the original behavior restored to the link buttons in the breadcrumbs as well.

Thoughts?

    -Jim

On 4/9/2012 3:46 PM, Massimo Di Pierro wrote:
Yes it is open for discussion. :-)
we could have a flag to change the mode. What do other people think?
we could have a template field like button_label = 'for %(tablename)s %(fieldname)s' which you can override.

On Monday, 9 April 2012 10:48:43 UTC-5, Jim S wrote:

    Ouch!

    Seems kind of heavy-handed for accommodating one use case.This
    takes my default display from this:


    ...to this:

    Is this open for discussion or alternative implementations?

    -Jim



    On 4/9/2012 10:33 AM, Massimo Di Pierro wrote:
    There is a reason for the new text. One table A may have two
    fields referencing table B so there is a need to specify the
    field name in the buttons.
    Anyway, you can remove them.

    In your db.py.

    T.force('en')

    Then edit the en.py Language and you will be able to edit the
    text of those buttons.

    Massimo

    On Monday, 9 April 2012 09:56:41 UTC-5, Jim S wrote:

        I updated to latest trunk this morning and am seeing
        additional text in the buttons for linked tables.  Is there a
        way to disable this?  I liked how I could just set the
        _plural for the table before to set the text that I wanted to
        appear.  Now it appears to be appending 'for
        linked_table_linking_id_field_name' to the _plural for the
        table.  Really hoping I can get rid of this....

            -Jim


No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2411/4925 - Release Date: 04/09/12


--
Jim Steil
VP of Information Technology
Quality Liquid Feeds, Inc.
608.935.2345 office
608.341.9896 cell

Reply via email to