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
>>
>>
>>