mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Add default swimlane to welkome board
This commit is contained in:
parent
73401a5d74
commit
9df3e3d26b
2 changed files with 6 additions and 0 deletions
|
@ -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?",
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue