ORIENT/modules/backend/behaviors/relationcontroller/partials
Dan Harrin cd86c62b94
Relation Manager Customisation Improvements (#4444)
This change allows for easy customisation of the relation manager titles and toolbar buttons.

For buttons - define your custom strings directly in the standard `toolbarButtons` syntax...

```
toolbarButtons:
    create: acme.blog::lang.subcategory.CreateButtonText
    delete: # omit the string to fall back to the default button text
```

...and the old syntax still works...

```
toolbarButtons: create|delete
```

For titles - define different strings for each mode (form, list or pivot)...

```
title:
    form: acme.blog::lang.subcategory.FormTitle
    list: acme.blog::lang.subcategory.ListTitle
```

This feature provides developer convenience, for example in this situation where I have a relation manager that is used to assign user permissions to a project:
Before
![Screenshot 2019-07-10 at 09 28 22](https://user-images.githubusercontent.com/41773797/60953626-6bc0de80-a2f5-11e9-8001-04e816ad6967.png)
After
![Screenshot 2019-07-10 at 09 32 51](https://user-images.githubusercontent.com/41773797/60953773-b9d5e200-a2f5-11e9-93a9-69238ea696aa.png)

This PR contains no breaking changes.
2020-03-27 12:56:07 -06:00
..
_button_add.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_create.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_delete.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_link.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_remove.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_unlink.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_button_update.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_container.htm Encode extra config to isolate the logic 2016-10-15 10:10:11 +11:00
_manage_form.htm Trigger the change.oc.formwidget event on update of records through relationcontroller. (#4673) 2019-10-08 17:30:02 -06:00
_manage_list.htm Add support for filters in the RelationController configuration (#4241) 2019-05-04 09:08:12 +08:00
_manage_pivot.htm Switch the manage popup title according to the button pressed 2016-03-25 14:03:11 +11:00
_pivot_form.htm Fix #1407 2015-08-31 20:19:58 +02:00
_toolbar.htm Relation Manager Customisation Improvements (#4444) 2020-03-27 12:56:07 -06:00
_view.htm Add support for filters in the RelationController configuration (#4241) 2019-05-04 09:08:12 +08:00