Add default swimlane to welkome board

This commit is contained in:
Andrés Manelli 2018-02-02 21:52:00 -03:00
parent 73401a5d74
commit 9df3e3d26b
2 changed files with 6 additions and 0 deletions

View file

@ -373,6 +373,7 @@
"watching": "Watching",
"watching-info": "You will be notified of any change in this board",
"welcome-board": "Welcome Board",
"welcome-swimlane": "Milestone 1",
"welcome-list1": "Basics",
"welcome-list2": "Advanced",
"what-to-do": "What do you want to do?",

View file

@ -549,6 +549,11 @@ if (Meteor.isServer) {
permission: 'private',
}, fakeUser, (err, boardId) => {
Swimlanes.insert({
title: TAPi18n.__('welcome-swimlane'),
boardId
}, fakeUser);
['welcome-list1', 'welcome-list2'].forEach((title) => {
Lists.insert({title: TAPi18n.__(title), boardId}, fakeUser);
});