-
- Downloads
[IMP] web: Allow customization of text in button to apply kanban example
Before this commit, the only module that allows for selecting and applying kanban column examples is the project module, for its tasks kanban, so the message in the button to apply the example is hardcoded as "Use This For My Project". After this commit, the text in this button can be customized to make this more generic, so a different module could use a different message like "Use This For My Campaigns". If no text is specified, a generic "Use This For My Kanban" is used instead. Usage ``` kanbanExamplesRegistry.add('utm_campaign', { applyExamplesText: _lt("Use This For My Campaigns"), ``` Task ID: 2047369 PR #48299
Showing
- addons/project/static/src/js/project_task_kanban_examples.js 1 addition, 0 deletionsaddons/project/static/src/js/project_task_kanban_examples.js
- addons/web/static/src/js/views/kanban/kanban_column_quick_create.js 2 additions, 1 deletion.../static/src/js/views/kanban/kanban_column_quick_create.js
- addons/web/static/src/js/views/kanban/kanban_renderer.js 1 addition, 0 deletionsaddons/web/static/src/js/views/kanban/kanban_renderer.js
Please register or sign in to comment