diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-10-15 00:52:32 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-10-15 00:52:32 +0200 |
commit | 15ebfa63c61694e4aa60e0f9c5047f678d6cf0c4 (patch) | |
tree | 1e7a7245bb7a9f47548ec2c26e6d13d5010b8e4a /client/config | |
parent | 944a1065d372095e8a0898a4162ca6bb562bab69 (diff) | |
download | wekan-15ebfa63c61694e4aa60e0f9c5047f678d6cf0c4.tar.gz wekan-15ebfa63c61694e4aa60e0f9c5047f678d6cf0c4.tar.bz2 wekan-15ebfa63c61694e4aa60e0f9c5047f678d6cf0c4.zip |
Translate the label colors
Diffstat (limited to 'client/config')
-rw-r--r-- | client/config/blazeHelpers.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/config/blazeHelpers.js b/client/config/blazeHelpers.js index 12990ed7..adf5ef6a 100644 --- a/client/config/blazeHelpers.js +++ b/client/config/blazeHelpers.js @@ -13,3 +13,7 @@ Blaze.registerHelper('currentCard', () => { }); Blaze.registerHelper('getUser', (userId) => Users.findOne(userId)); + +UI.registerHelper('concat', function (...args) { + return Array.prototype.slice.call(args, 0, -1).join(''); +}); |