mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Shared Templates: In Progress. Hide this feature while it's not finished yet.
Thanks to xet7 !
This commit is contained in:
parent
e0797c83f8
commit
3b4a44abb1
3 changed files with 7 additions and 6 deletions
|
|
@ -228,9 +228,9 @@ template(name="createBoard")
|
|||
= " "
|
||||
| {{{_ 'board-private-info'}}}
|
||||
a.js-change-visibility {{_ 'change'}}.
|
||||
a.flex.js-toggle-add-template-container
|
||||
.materialCheckBox#add-template-container
|
||||
span {{_ 'add-template-container'}}
|
||||
//a.flex.js-toggle-add-template-container
|
||||
// .materialCheckBox#add-template-container
|
||||
// span {{_ 'add-template-container'}}
|
||||
input.primary.wide(type="submit" value="{{_ 'create'}}")
|
||||
span.quiet
|
||||
| {{_ 'or'}}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,8 @@ BlazeComponent.extendComponent({
|
|||
boards() {
|
||||
const query = {
|
||||
archived: false,
|
||||
type: { $in: ['board','template-container'] },
|
||||
//type: { $in: ['board','template-container'] },
|
||||
type: 'board',
|
||||
};
|
||||
if (FlowRouter.getRouteName() === 'home')
|
||||
query['members.userId'] = Meteor.userId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue