From 799934c31b3c67de335f11f8e99d09e9c13e0238 Mon Sep 17 00:00:00 2001 From: thehindenburg Date: Wed, 10 Dec 2014 12:31:09 -0800 Subject: [PATCH] added space in Jade to the arrow and opt out text in the inbox --- views/options/social/chat-message.jade | 2 ++ views/options/social/index.jade | 1 + 2 files changed, 3 insertions(+) diff --git a/views/options/social/chat-message.jade b/views/options/social/chat-message.jade index 120dc2de42..dc332452ed 100644 --- a/views/options/social/chat-message.jade +++ b/views/options/social/chat-message.jade @@ -6,6 +6,7 @@ mixin chatMessages(inbox) span(ng-if='::message.user') a.label.label-default.chat-message.hidden-label span.glyphicon.glyphicon-arrow-right(ng-if='::message.sent') + |     span {{::message.user}}  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 @@ -28,5 +29,6 @@ mixin chatMessages(inbox) span.float-label a.label.label-default.chat-message(ng-if=':: message.user', ng-class='::userLevelStyleFromLevel(message.contributor.level, message.backer.npc, style)', ng-click='clickMember(message.uuid, true)') span.glyphicon.glyphicon-arrow-right(ng-if='::message.sent') + |   span(tooltip='{{::contribText(message.contributor, message.backer)}}') {{::message.user}}  span(ng-class='::userAdminGlyphiconStyleFromLevel(message.contributor.level)') diff --git a/views/options/social/index.jade b/views/options/social/index.jade index 0e836cb580..af5c52a899 100644 --- a/views/options/social/index.jade +++ b/views/options/social/index.jade @@ -16,6 +16,7 @@ script(type='text/ng-template', id='partials/options.social.inbox.html') .checkbox label input(type='checkbox', ng-model='user.inbox.optOut', ng-change='set({"inbox.optOut": user.inbox.optOut?true: false})') + |   span.hint(popover-trigger='mouseenter', popover-placement='right', popover=env.t('optOutPopover'))=env.t('optOut') script(type='text/ng-template', id='partials/options.social.tavern.html')