renamed talent property from talentRank to rank

This commit is contained in:
Gesina Schwalbe 2021-01-06 11:52:11 +01:00
parent 17b5eee902
commit 98f31d9e8c
5 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,7 @@
{{!-- ======================================================================== --}}
{{!-- INLINE PARTIAL DEFINITIONS --}}
{{!-- ======================================================================== --}}
{{!-- TODO: remove duplicate add and delete button definition --}}
{{!--
!-- Render an "add" button for a given data type.
@ -28,9 +29,9 @@
{{#*inline "talentRankValue"}}
<input class="item-num-val item-change" data-dtype="Number" type="number" min="0" step="1"
{{#if (eq property 'base') }}max="{{item.data.data.talentRank.max}}"{{/if}}
{{#if (eq property 'base') }}max="{{item.data.data.rank.max}}"{{/if}}
{{disabled}}
data-property="data.talentRank.{{property}}" value="{{lookup item.data.data.talentRank property}}"
data-property="data.rank.{{property}}" value="{{lookup item.data.data.rank property}}"
title="{{localize localizeString}}" />
{{/inline}}