mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-02 23:13:58 +00:00
15 lines
371 B
CoffeeScript
15 lines
371 B
CoffeeScript
define ['marionette', 'utils'],
|
|
(Marionette, utils) ->
|
|
class DssView extends Marionette.ItemView
|
|
templateHelpers:
|
|
renderCheckbox: (value) ->
|
|
return (if value then "checked" else "")
|
|
|
|
isMe: (id) ->
|
|
return utils.isMe(id)
|
|
|
|
humanise: (date)->
|
|
moment(date).fromNow()
|
|
|
|
|
|
DssView |