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.
This commit is contained in:
Johannes Loher 2022-11-03 23:02:46 +01:00
parent 63e888e39d
commit fc9f4b49b5
9 changed files with 52 additions and 4 deletions

View file

@ -0,0 +1,21 @@
{{!--
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>