1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-18 15:25:00 -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