1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-01 21:52:17 -05:00
kaiwa/clientapp/templates/includes/wrappedMessage.jade

11 lines
411 B
Plaintext
Raw Normal View History

2015-02-15 17:51:27 -05:00
- var messageDate = Date.create(message.timestamp)
2013-09-25 23:38:00 -04:00
li
2013-12-13 19:16:40 -05:00
.sender
a.messageAvatar(href='#')
img(src=message.sender.avatar, alt=message.sender.displayName, data-placement="below")
2013-09-25 23:38:00 -04:00
.messageWrapper
2015-02-09 10:20:28 -05:00
.message_header
.name #{message.sender.displayName}
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-09-25 23:38:00 -04:00
include bareMessage