2a7adf7285
* challenges are not showing, this could be related to the bo-if directive being broken https://github.com/Pasvaz/bindonce/issues/29 * NPCs lost their color because bindonce seems to have a major issue on tags that are using both interpolation and the bo-class directives
14 lines
833 B
Plaintext
14 lines
833 B
Plaintext
li(bindonce='group.chat', ng-repeat='message in group.chat', bo-class='{highlight: isUserMentioned(user,message), "own-message": user._id == message.uuid}')
|
|
div(class='scrollable-message')
|
|
a.label.chat-message(class='hidden-label')
|
|
span {{message.user}}
|
|
|
|
|
markdown(ng-model='message.text')
|
|
| -
|
|
span.muted.time(from-now='message.timestamp')
|
|
a(bo-show='user.contributor.admin || message.uuid == user.id', ng-click='deleteChatMessage(group, message)')
|
|
|
|
|
i.icon-remove(tooltip='Delete')
|
|
a.label.chat-message(ng-class='{"label-npc": message.backer.npc}', class='float-label label-contributor-{{message.contributor.level}}', ng-click='clickMember(message.uuid, true)')
|
|
span(tooltip='{{contribText(message.contributor, message.backer)}}') {{message.user}}
|