mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +01:00
New string in stats if gear has no benefits (take 2)
This commit is contained in:
@@ -151,5 +151,6 @@
|
||||
"str": "STR",
|
||||
"con": "CON",
|
||||
"per": "PER",
|
||||
"int": "INT"
|
||||
"int": "INT",
|
||||
"noBenefits": "No benefits"
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ unless mobile
|
||||
td
|
||||
strong {{piece.text()}}:
|
||||
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('noBenefits')
|
||||
|
||||
h4(class=mobile?'item item-divider':'')=env.t('attributes')
|
||||
table.table.table-striped
|
||||
|
||||
Reference in New Issue
Block a user