1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-02 22:22:15 -05:00
kaiwa/clientapp/templates/includes/mucWrappedMessage.jade
2015-03-19 16:38:39 +01:00

12 lines
511 B
Plaintext

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