mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Do those imports!
This commit is contained in:
parent
90d64db52c
commit
64dcc70bd2
8 changed files with 15 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '../../../models/attachments';
|
||||||
|
|
||||||
Template.attachmentsGalery.events({
|
Template.attachmentsGalery.events({
|
||||||
'click .js-add-attachment': Popup.open('cardAttachments'),
|
'click .js-add-attachment': Popup.open('cardAttachments'),
|
||||||
'click .js-confirm-delete': Popup.afterConfirm(
|
'click .js-confirm-delete': Popup.afterConfirm(
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '../../../models/attachments';
|
||||||
|
|
||||||
Template.editor.onRendered(() => {
|
Template.editor.onRendered(() => {
|
||||||
const textareaSelector = 'textarea';
|
const textareaSelector = 'textarea';
|
||||||
const mentions = [
|
const mentions = [
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import Avatars from '../../../models/avatars';
|
||||||
Template.userAvatar.helpers({
|
Template.userAvatar.helpers({
|
||||||
userData() {
|
userData() {
|
||||||
// We need to handle a special case for the search results provided by the
|
// We need to handle a special case for the search results provided by the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
// Activities don't need a schema because they are always set from the a trusted
|
// Activities don't need a schema because they are always set from the a trusted
|
||||||
// environment - the server - and there is no risk that a user change the logic
|
// environment - the server - and there is no risk that a user change the logic
|
||||||
// we use with this collection. Moreover using a schema for this collection
|
// we use with this collection. Moreover using a schema for this collection
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
Boards = new Mongo.Collection('boards');
|
Boards = new Mongo.Collection('boards');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
Cards = new Mongo.Collection('cards');
|
Cards = new Mongo.Collection('cards');
|
||||||
|
|
||||||
// XXX To improve pub/sub performances a card document should include a
|
// XXX To improve pub/sub performances a card document should include a
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
//const stringify = require('csv-stringify');
|
//const stringify = require('csv-stringify');
|
||||||
|
|
||||||
// exporter maybe is broken since Gridfs introduced, add fs and path
|
// exporter maybe is broken since Gridfs introduced, add fs and path
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '../../models/attachments';
|
||||||
|
|
||||||
// This is the publication used to display the board list. We publish all the
|
// This is the publication used to display the board list. We publish all the
|
||||||
// non-archived boards:
|
// non-archived boards:
|
||||||
// 1. that the user is a member of
|
// 1. that the user is a member of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue