summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-02-02 21:52:00 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-02-02 21:52:00 -0300
commit9df3e3d26bffb2268cdcc7fa768eda60e4f0975c (patch)
tree26fb3b44642b91ba14dcedacd59ced09aa536d19 /models/users.js
parent73401a5d749b25712823b08b2dda071c46009931 (diff)
downloadwekan-9df3e3d26bffb2268cdcc7fa768eda60e4f0975c.tar.gz
wekan-9df3e3d26bffb2268cdcc7fa768eda60e4f0975c.tar.bz2
wekan-9df3e3d26bffb2268cdcc7fa768eda60e4f0975c.zip
Add default swimlane to welkome board
Diffstat (limited to 'models/users.js')
-rw-r--r--models/users.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/users.js b/models/users.js
index 92cee9f6..d3b91ddb 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);
});