Removed option to send private message if it would go to system. Closes
This commit is contained in:
@@ -10,14 +10,14 @@ mixin chatMessages(inbox)
|
||||
span(ng-class='userAdminGlyphiconStyleFromLevel(message.contributor.level)')
|
||||
// this invisible username label is here to push the message text far enough right that the visible label can be floated to this point without covering up any of the text
|
||||
markdown(ng-model='::message.text')
|
||||
| -
|
||||
| -
|
||||
span.muted.time(from-now='::message.timestamp')
|
||||
unless inbox
|
||||
span
|
||||
a.label.label-default(ng-show='countExists(message.likes)', ng-class='{"label-success":message.likes[user._id]}', ng-click='likeChatMessage(group,message)') +{{countExists(message.likes)}}
|
||||
a.chat-plus-one.muted(ng-show='!countExists(message.likes)', ng-click='likeChatMessage(group, message)') +1
|
||||
|
|
||||
a(ng-click="quickReply(message.uuid)")
|
||||
a(ng-click="quickReply(message.uuid)" ng-if="message.uuid != 'system'")
|
||||
span.glyphicon.glyphicon-envelope(tooltip=env.t('sendPM'))
|
||||
if inbox
|
||||
a(ng-click="quickReply(message.uuid)")
|
||||
|
||||
Reference in New Issue
Block a user