diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index 0c9025801..819a9244d 100644 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -2188,6 +2188,12 @@ textarea.gray { color: gray; } font-weight: bold; } +.message { + .recipient a.author, .sender a.author, .subreddit { + font-weight: bold; + } +} + .message.new > .entry .head { color:orangered; font-weight: bold; } diff --git a/r2/r2/templates/message.html b/r2/r2/templates/message.html index 3b6aab659..d13f8fe3d 100644 --- a/r2/r2/templates/message.html +++ b/r2/r2/templates/message.html @@ -53,9 +53,9 @@ ${parent.thing_css_class(what)} ${"new" if thing.new else ""} ${"was-comment" if substitutions = {} if thing.sr_id: - substitutions['subreddit'] = u'%(path)s' % dict(path=thing.subreddit.path) + substitutions['subreddit'] = u'%(path)s' % dict(path=thing.subreddit.path) - substitutions['author'] = u"%s" % WrappedUser(thing.author, thing.attribs, thing).render() + substitutions['author'] = u'%s' % WrappedUser(thing.author, thing.attribs, thing).render() if isinstance(thing.to, Account): to_attribs = [] @@ -68,9 +68,9 @@ ${parent.thing_css_class(what)} ${"new" if thing.new else ""} ${"was-comment" if label = _('moderator of /r/%(reddit)s, speaking officially') label %= {'reddit': thing.subreddit.name} add_attr(to_attribs, 'M', label=label, link=link) - substitutions['dest'] = u"%s" % WrappedUser(thing.to, to_attribs, thing).render() + substitutions['dest'] = u'%s' % WrappedUser(thing.to, to_attribs, thing).render() elif thing.sr_id: - substitutions['dest'] = substitutions['subreddit'] + substitutions['dest'] = u'%(path)s' % dict(path=thing.subreddit.path) substitutions['when'] = capture(thing_timestamp, thing, thing.timesince, include_tense=True) @@ -105,7 +105,7 @@ ${parent.thing_css_class(what)} ${"new" if thing.new else ""} ${"was-comment" if %endif %endif - ${thing.subject} + ${thing.subject} %if thing.was_comment: ${thing.link_title} %elif getattr(thing, "is_parent", False):