1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-03 14:42:15 -05:00
kaiwa/clientapp/templates/includes/mucWrappedMessage.jade

12 lines
511 B
Plaintext
Raw Normal View History

2015-02-15 17:51:27 -05:00
- var messageDate = Date.create(message.timestamp)
2013-12-13 19:16:40 -05:00
li
.sender
2015-02-09 10:20:28 -05:00
a.messageAvatar(href='#')
img(src=message.sender.getAvatar(message.from.full), alt=message.from.resource, data-placement="below")
2013-12-13 19:16:40 -05:00
.messageWrapper
2015-02-09 10:20:28 -05:00
.message_header
.name #{message.sender.getName(message.from.full)}
.nickname #{message.sender.getNickname(message.from.full)}
2015-02-15 17:51:27 -05:00
.date(title=messageDate.format('{Dow}, {MM}/{dd}/{yyyy} - {h}:{mm} {Tt}')) #{messageDate.format('{h}:{mm} {tt}')}
2013-12-13 19:16:40 -05:00
include mucBareMessage