1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-18 07:15:08 -05:00
kaiwa/clientapp/templates/includes/mucWrappedMessage.jade

11 lines
412 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="https://gravatar.com/avatar", 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.from.resource}
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