Added table of calculated values to strength detail

This commit is contained in:
Stefan Zermatten
2015-05-18 14:13:28 +02:00
parent 4143929667
commit baffafb62a
4 changed files with 92 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
Template.strengthDialog.helpers({
color: function(){
if (this.color) return this.color + " white-text";
var char = Characters.findOne(this.charId, {fields: {color: 1}});
if (char) return getColorClass(char.color);
},
});