Tasks: display markdown
This commit is contained in:
parent
64a26976c4
commit
b470ff2a37
@ -63,7 +63,12 @@ Task = (self, project, todod-ws) ->
|
|||||||
modal := TaskRemovalModal project.id, todod-ws, self
|
modal := TaskRemovalModal project.id, todod-ws, self
|
||||||
} [ "X" ]
|
} [ "X" ]
|
||||||
]
|
]
|
||||||
h \div.content [ self.description ]
|
|
||||||
|
h \div.content {
|
||||||
|
key: "task-description-#{self.id}"
|
||||||
|
after-create: (dom) ->
|
||||||
|
dom.innerHTML = nmd self.description
|
||||||
|
} [ ]
|
||||||
]
|
]
|
||||||
if modal
|
if modal
|
||||||
modal.render!
|
modal.render!
|
||||||
|
Loading…
Reference in New Issue
Block a user