[IMP] web: make kanban example support state bullets
This commit is contained in:
@@ -30,22 +30,26 @@ kanbanExamplesRegistry.add('project', [{
|
||||
description: escFormat(_t('Prioritize Tasks by using the %s icon.'+
|
||||
'%s Use the %s button to signalize to your colleagues that a task is ready for the next stage.'+
|
||||
'%s Use the %s to signalize a problem or a need for discussion on a task.'), star, '<br/>', greenBullet, '<br/>', redBullet),
|
||||
bullets: [greenBullet, redBullet, star],
|
||||
}, {
|
||||
name: _t('Agile'),
|
||||
columns: [_t('Backlog'), _t('Analysis'), _t('Development'), _t('Testing'), _t('Done')],
|
||||
description: escFormat(_t('Waiting for the next stage: use %s and %s bullets.'), greenBullet, redBullet),
|
||||
bullets: [greenBullet, redBullet],
|
||||
}, {
|
||||
name: _t('Digital Marketing'),
|
||||
columns: [_t('Ideas'), _t('Researching'), _t('Writing'), _t('Editing'), _t('Done')],
|
||||
description: escFormat(_t('Everyone can propose ideas, and the Editor marks the best ones ' +
|
||||
'as %s. Attach all documents or links to the task directly, to have all information about ' +
|
||||
'a research centralized.'), greenBullet),
|
||||
bullets: [greenBullet, redBullet],
|
||||
}, {
|
||||
name: _t('Customer Feedback'),
|
||||
columns: [_t('New'), _t('In development'), _t('Done'), _t('Refused')],
|
||||
description: escFormat(_t('Customers propose feedbacks by email; Odoo creates tasks ' +
|
||||
'automatically, and you can communicate on the task directly. Your managers decide which ' +
|
||||
'feedback is accepted %s and which feedback is moved to the "Refused" column.'), greenBullet),
|
||||
bullets: [greenBullet, redBullet],
|
||||
}, {
|
||||
name: _t('Getting Things Done (GTD)'),
|
||||
columns: [_t('Inbox'), _t('Today'), _t('This Week'), _t('This Month'), _t('Long Term')],
|
||||
@@ -73,6 +77,7 @@ kanbanExamplesRegistry.add('project', [{
|
||||
description: escFormat(_t('Communicate with customers on the task using the email gateway. ' +
|
||||
'Attach logo designs to the task, so that information flow from designers to the workers ' +
|
||||
'who print the t-shirt. Organize priorities amongst orders %s using the icon.'), star),
|
||||
bullets: [star],
|
||||
}]);
|
||||
|
||||
});
|
||||
|
||||
@@ -158,6 +158,11 @@
|
||||
<div class="o_kanban_examples_ghost">
|
||||
<div class="o_ghost_content"/>
|
||||
<div class="o_ghost_content o_ghost_tag"/>
|
||||
<t t-if="example.bullets">
|
||||
<t t-if="_.random(0,5) > 3">
|
||||
<t t-raw="example.bullets[_.random(0, example.bullets.length-1)]"/>
|
||||
</t>
|
||||
</t>
|
||||
<img class="float-right o_ghost_avatar" src="/base/static/img/avatar.png" alt="Avatar"/>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user