1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-01 21:52:17 -05:00
kaiwa/clientapp/templates/includes/wrappedMessage.jade
2015-02-15 23:53:28 +01:00

11 lines
411 B
Plaintext

- var messageDate = Date.create(message.timestamp)
li
.sender
a.messageAvatar(href='#')
img(src=message.sender.avatar, alt=message.sender.displayName, data-placement="below")
.messageWrapper
.message_header
.name #{message.sender.displayName}
.date(title=messageDate.format('{Dow}, {MM}/{dd}/{yyyy} - {h}:{mm} {Tt}')) #{messageDate.format('{h}:{mm} {tt}')}
include bareMessage