From e0f09cd468982c51556840b6bbf2fcf09baaa489 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Fri, 28 Nov 2014 19:48:31 -0600 Subject: [PATCH] Removed option to send private message if it would go to system. Closes --- views/options/social/chat-message.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/options/social/chat-message.jade b/views/options/social/chat-message.jade index 27ecf66f70..b17598ab51 100644 --- a/views/options/social/chat-message.jade +++ b/views/options/social/chat-message.jade @@ -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)")