mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Merge branch 'main' into feature/death-moves
This commit is contained in:
commit
916675fa43
6 changed files with 60 additions and 0 deletions
19
templates/ui/sidebar/actor-document-partial.hbs
Normal file
19
templates/ui/sidebar/actor-document-partial.hbs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<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 (or (eq type "adversary") (eq type "environment"))}}
|
||||
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.tier" tier=system.tier type=(@root.getTypeLabel this)}}</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" level=system.levelData.level.current partner=system.partner.name}}</span>
|
||||
{{else}}
|
||||
<span class="entry-subtitle">{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.companionNoPartner"}}</span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</a>
|
||||
</li>
|
||||
Loading…
Add table
Add a link
Reference in a new issue