Attach client to chat messages (#10845)

* Attach client to chat messages

* Word

* Design tweaks

* Fix potential error
This commit is contained in:
Phillip Thelen
2018-11-26 10:45:42 +01:00
committed by Matteo Pagliazzi
parent 2bebaf2cf8
commit 42b146d5d0
4 changed files with 12 additions and 5 deletions

View File

@@ -15,7 +15,8 @@ div
p.time
span.mr-1(v-if="msg.username") @{{ msg.username }}
span.mr-1(v-if="msg.username")
span(v-b-tooltip="", :title="msg.timestamp | date") {{ msg.timestamp | timeAgo }}
span(v-b-tooltip="", :title="msg.timestamp | date") {{ msg.timestamp | timeAgo }} 
span(v-if="msg.client && user.contributor.level >= 4") ({{ msg.client }})
.text(v-html='atHighlight(parseMarkdown(msg.text))')
hr
.d-flex(v-if='msg.id')