1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-18 07:15:08 -05:00
kaiwa/clientapp/templates/includes/mucWrappedMessage.jade
2015-02-15 23:53:28 +01:00

11 lines
412 B
Plaintext

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