Styling and rounding fixes for detail boxes

This commit is contained in:
Stefan Zermatten
2015-05-12 11:34:56 +02:00
parent bf032bcdf3
commit 2404845d51
5 changed files with 11 additions and 4 deletions

View File

@@ -140,7 +140,12 @@ Template.attributeDialogView.helpers({
return char.attributeValue(this.statName);
},
sourceName: function(){
if (this.parent.collection === "Characters") return this.name;
if (this.parent.group === "racial"){
return this.getParent().race;
}
if (this.parent.collection === "Characters"){
return this.name;
}
return this.getParent().name;
},
operationName: function(){