1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-29 12:42:16 -05:00
kaiwa/clientapp/templates/includes/mucBareMessage.jade

17 lines
540 B
Plaintext
Raw Normal View History

2015-04-04 10:47:01 -04:00
- var messageClasses = message.classList
2015-04-07 07:12:20 -04:00
if firstEl
2015-04-04 10:47:01 -04:00
- messageClasses += ' first'
.message(id='chat'+message.cid, class=messageClasses)
.date(title=messageDate.format('{Dow}, {MM}/{dd}/{yyyy} - {h}:{mm} {Tt}')) #{messageDate.format('{h}:{mm} {tt}')}
2013-12-13 19:16:40 -05:00
p.body !{message.processedBody}
2014-01-02 04:13:57 -05:00
- var urls = message.urls
section.embeds
each item in urls
if item.source == 'body'
section.embed.hidden
a.source(href=item.href)= item.desc
else
section.embed
a.source(href=item.href)= item.desc