mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 14:20:15 +01:00
Replace templates:tabs Atmosphere package with inline Blaze implementation
Drop the templates:tabs dependency as part of Meteor 3.0 migration prep. The package is replaced by a lightweight inline basicTabs/tabContent template pair with identical API, so no consumer template changes needed.
This commit is contained in:
parent
ff7729fc35
commit
81d3a08b9b
7 changed files with 91 additions and 7 deletions
11
client/components/lib/basicTabs.jade
Normal file
11
client/components/lib/basicTabs.jade
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
template(name="basicTabs")
|
||||
.basicTabs-container(class="{{name}}")
|
||||
ul.tabs-list
|
||||
each tabs
|
||||
li.tab-item(class="{{isActiveTab slug}} {{class}}") {{name}}
|
||||
.tabs-content-container
|
||||
+Template.contentBlock
|
||||
|
||||
template(name="tabContent")
|
||||
section.tabs-content(class="{{isActiveTab slug}}" data-tab="{{slug}}")
|
||||
+Template.contentBlock
|
||||
Loading…
Add table
Add a link
Reference in a new issue