New string if gear has no benefits

This commit is contained in:
GihHubSphinx
2015-06-26 21:49:48 +05:00
parent 3501dbf027
commit c2f0f89f2b
2 changed files with 3 additions and 1 deletions

View File

@@ -151,5 +151,6 @@
"str": "STR", "str": "STR",
"con": "CON", "con": "CON",
"per": "PER", "per": "PER",
"int": "INT" "int": "INT",
"noBenefit": "Confers no benefit"
} }

View File

@@ -29,6 +29,7 @@ unless mobile
td td
strong {{piece.text()}}:  strong {{piece.text()}}: 
span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}}  span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}} 
span(ng-hide='piece.str || piece.con || piece.per || piece.int')=env.t('noBenefit')
h4(class=mobile?'item item-divider':'')=env.t('attributes') h4(class=mobile?'item item-divider':'')=env.t('attributes')
table.table.table-striped table.table.table-striped