ds4/templates/sheets/actor/limited-sheet.hbs
Johannes Loher fc9f4b49b5 feat: add a special actor sheet that is displayed to users with the LIMITED permission for the actor
This actor sheet only shows image, name, and biography/description of the actor.
2022-11-03 23:02:46 +01:00

21 lines
630 B
Handlebars

{{!--
SPDX-FileCopyrightText: 2022 Johannes Loher
SPDX-License-Identifier: MIT
--}}
<form class="{{cssClass}} ds4-sheet-form" autocomplete="off">
{{!-- Header --}}
{{#> systems/ds4/templates/sheets/actor/components/actor-header.hbs}}
{{/systems/ds4/templates/sheets/actor/components/actor-header.hbs}}
{{!-- Sheet Body --}}
<section class="ds4-sheet-body">
{{#if (eq data.type 'character')}}
{{> systems/ds4/templates/sheets/actor/components/biography.hbs}}
{{else}}
{{> systems/ds4/templates/sheets/actor/components/description.hbs}}
{{/if}}
</section>
</form>