Add support for the tabs in the two contentful Actor sheets
This commit is contained in:
parent
76d8f3675c
commit
40f0e1ea2c
11 changed files with 120 additions and 5 deletions
17
templates/generic/tabs.hbs
Normal file
17
templates/generic/tabs.hbs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{#if hideTabs}}
|
||||
<template></template>
|
||||
{{else}}
|
||||
<nav class="tabs system-tabs">
|
||||
{{#each tabs as |tab|}}
|
||||
<button
|
||||
type="button"
|
||||
class="{{tab.cssClass}}"
|
||||
data-action="tab"
|
||||
data-group="{{tab.group}}"
|
||||
data-tab="{{tab.id}}"
|
||||
>
|
||||
{{localize tab.label}}
|
||||
</button>
|
||||
{{/each}}
|
||||
</nav>
|
||||
{{/if}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue