mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
21 lines
1.2 KiB
Handlebars
21 lines
1.2 KiB
Handlebars
<li class="directory-item entry document {{@root.documentCls}} flexrow" data-entry-id="{{id}}">
|
|
{{#if thumbnail}}
|
|
<img class="thumbnail" src="{{thumbnail}}" alt="{{name}}" loading="lazy">
|
|
{{/if}}
|
|
<a class="entry-name ellipsis" data-action="activateEntry">
|
|
<span>{{name}}</span>
|
|
{{#if (eq type "adversary")}}
|
|
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.adversary" tier=system.tier}}</span>
|
|
{{else if (eq type "character")}}
|
|
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.character" level=system.levelData.level.current}}</span>
|
|
{{else if (eq type "companion")}}
|
|
{{#if system.partner}}
|
|
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.companion" partner=system.partner.name}}</span>
|
|
{{else}}
|
|
<span class="entry-subtitle">{{localize "TYPES.Actor.companion"}}</span>
|
|
{{/if}}
|
|
{{else if (eq type "environment")}}
|
|
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.environment" tier=system.tier}}</span>
|
|
{{/if}}
|
|
</a>
|
|
</li>
|