N°3190 - Edit n:n LinkedSetIndirect in object details using a tagset-like widget

- Add generic set block ui component
- Add model link set (direct and indirect) attribute (display style)
- Add model link set direct allowed values
- Create link set viewer block UI (BlockLinksSetDisplayAsProperty)
- Add set block ui factory for linkset
- Add object factory and create new endpoint in object controller (with data binder)
- Add link set model, link set repository and link set data transformer services
This commit is contained in:
bdalsass
2023-01-24 10:03:10 +01:00
committed by GitHub
parent 9482139b5a
commit fb1ceebaa4
55 changed files with 3948 additions and 234 deletions

View File

@@ -17,12 +17,24 @@
* You should have received a copy of the GNU Affero General Public License
*/
// Display DataTable
Dict::Add('FR FR', 'French', 'Français', array(
'UI:Links:ActionRow:Detach' => 'Détacher',
'UI:Links:ActionRow:Detach+' => 'Détacher cet objet',
'UI:Links:ActionRow:Detach:Confirmation' => 'Voulez-vous détacher <b>{item}</b> de l\'objet courant ?',
'UI:Links:ActionRow:Delete' => 'Supprimer',
'UI:Links:ActionRow:Delete+' => 'Supprimer cet objet',
'UI:Links:ActionRow:Delete:Confirmation' => 'Voulez-vous supprimer <b>{item}</b> de l\'objet courant ?',
// Action row
'UI:Links:ActionRow:Detach' => 'Détacher',
'UI:Links:ActionRow:Detach+' => 'Détacher cet objet',
'UI:Links:ActionRow:Detach:Confirmation' => 'Voulez-vous détacher <b>{item}</b> de l\'objet courant ?',
'UI:Links:ActionRow:Delete' => 'Supprimer',
'UI:Links:ActionRow:Delete+' => 'Supprimer cet objet',
'UI:Links:ActionRow:Delete:Confirmation' => 'Voulez-vous supprimer <b>{item}</b> de l\'objet courant ?',
// Bulk
'UI:Links:Bulk:LinkWillBeCreatedForAllObjects' => 'Lier à tous les objets',
'UI:Links:Bulk:LinkWillBeDeletedFromAllObjects' => 'Détacher de tous les objets',
'UI:Links:Bulk:LinkWillBeCreatedFor1Object' => 'Lier à un objet',
'UI:Links:Bulk:LinkWillBeDeletedFrom1Object' => 'Détacher de un objet',
'UI:Links:Bulk:LinkWillBeCreatedForXObjects' => 'Lier à {count} objets',
'UI:Links:Bulk:LinkWillBeDeletedFromXObjects' => 'Détacher de {count} objets',
'UI:Links:Bulk:LinkExistForAllObjects' => 'Tous les objets sont déjà liés',
'UI:Links:Bulk:LinkExistForOneObject' => 'Un objet est lié',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objets sont liés',
));