From 9df3e3d26bffb2268cdcc7fa768eda60e4f0975c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Fri, 2 Feb 2018 21:52:00 -0300 Subject: [PATCH] Add default swimlane to welkome board --- i18n/en.i18n.json | 1 + models/users.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index ec9c1c966..92391c913 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -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?", diff --git a/models/users.js b/models/users.js index 92cee9f6d..d3b91ddbc 100644 --- a/models/users.js +++ b/models/users.js @@ -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); });