abbr for armor type&material in item overview
Additions: - further abbreviations included in localization Changes: - now not full armor type / material expression displayed in char sheet, but only an abbreviation with tooltip - description now smaller for weapon and armor
This commit is contained in:
parent
0b93f5ff9e
commit
9da168afa6
4 changed files with 57 additions and 12 deletions
|
@ -79,9 +79,10 @@
|
|||
<div title="{{localize 'DS4.ArmorMaterialType'}}">{{localize 'DS4.ArmorMaterialTypeAbbr'}}</div> {{!--
|
||||
SPECIFIC --}}
|
||||
<div title="{{localize 'DS4.ArmorType'}}">{{localize 'DS4.ArmorTypeAbbr'}}</div> {{!-- SPECIFIC --}}
|
||||
<div class="flex05 item-num-val" title="{{localize 'DS4.ArmorValue'}}">{{localize 'DS4.ArmorValueAbbr'}}
|
||||
<div class="flex05 item-num-val" title="{{localize 'DS4.ArmorValue'}}">
|
||||
{{localize 'DS4.ArmorValueAbbr'}}
|
||||
</div> {{!-- SPECIFIC --}}
|
||||
<div class="flex4">{{localize 'DS4.Description'}}</div>
|
||||
<div class="flex3">{{localize 'DS4.Description'}}</div>
|
||||
{{!-- add button --}}
|
||||
<div class="item-controls"> {{!-- SPECIFIC --}}
|
||||
<a class="item-control item-create" title="Create item" data-type="armor" {{!-- SPECIFIC --}}>
|
||||
|
@ -107,11 +108,15 @@
|
|||
{{!-- name --}}
|
||||
<h4 class="item-name flex3">{{item.name}}</h4>
|
||||
{{!-- item specifics --}}
|
||||
<div>{{lookup ../../config.armorMaterialTypes itemData.armorMaterialType}}</div> {{!-- SPECIFIC --}}
|
||||
<div>{{lookup ../../config.armorTypes itemData.armorType}}</div> {{!-- SPECIFIC --}}
|
||||
<div title="{{lookup ../../config.armorMaterialTypes itemData.armorMaterialType}}">
|
||||
{{lookup ../../config.armorMaterialTypesAbbr itemData.armorMaterialType}}
|
||||
</div> {{!-- SPECIFIC --}}
|
||||
<div title="{{lookup ../../config.armorTypes itemData.armorType}}">
|
||||
{{lookup ../../config.armorTypesAbbr itemData.armorType}}
|
||||
</div> {{!-- SPECIFIC --}}
|
||||
<div class="flex05 item-num-val">{{itemData.armorValue}}</div> {{!-- SPECIFIC --}}
|
||||
{{!-- description --}}
|
||||
<div class="flex4 item-description">{{{itemData.description}}}</div>
|
||||
<div class="flex3 item-description">{{{itemData.description}}}</div>
|
||||
{{!-- edit & delete buttons --}}
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue