1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-15 14:04:59 -05:00
kaiwa/clientapp/templates/includes/mucBareMessage.jade
2015-04-07 13:13:01 +02:00

17 lines
540 B
Plaintext

- var messageClasses = message.classList
if firstEl
- 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}')}
p.body !{message.processedBody}
- 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