Skip to content

Commit

Permalink
Merge pull request #164 from sasquach45932/master
Browse files Browse the repository at this point in the history
Displaying then number of items in container-items.
  • Loading branch information
ClipplerBlood authored Mar 20, 2024
2 parents b8e91c7 + 8157764 commit 6c87759
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/templates/tabs/item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@
<div class="col-7">
<img class='dl-clickable-nored item-edit' src="{{item.img}}" title="{{item.name}}" width="32"
height="32"/>
<label class="dl-clickable-nored item-roll">{{item.name}}</label>
{{#if item.system.contents.length}}
<label class="dl-clickable-nored item-roll">{{item.name}} ({{item.system.contents.length}})</label>
{{else}}
<label class="dl-clickable-nored item-roll">{{item.name}}</label>
{{/if}}
<div class="dl-clickable dlToggleInfoBtn">
<i class="fas fa-angle-right"></i> {{localize "DL.ItemShowInfo"}}
</div>
Expand Down

0 comments on commit 6c87759

Please sign in to comment.