LT-275: Storing and showing common used labels

This commit is contained in:
Bruno Alves de Faria committed 2016-08-03 15:49:42 -03:00
1 parent 7d58d84d48
commit 7d4c76ddb0
10 files changed
+114 -14

No files matched your search

@@ -1,3 +1,4 @@
import { OHIF } from 'meteor/ohif:core';
import { _ } from 'meteor/underscore';
import { Template } from 'meteor/templating';
@@ -14,3 +15,6 @@ Template.registerHelper('concat', (...args) => {
});
return result;
});
// Encode any string into a safe format for HTML id attribute
Template.registerHelper('encodeId', string => OHIF.string.encodeId(string));