diff --git a/r2/r2/lib/pages/pages.py b/r2/r2/lib/pages/pages.py index aaca801a4..b5092edfd 100644 --- a/r2/r2/lib/pages/pages.py +++ b/r2/r2/lib/pages/pages.py @@ -1708,14 +1708,14 @@ class ServerSecondsBar(Templated): for datestr, v in g.live_config['pennies_per_server_second'].iteritems() } - my_message = _("you have helped pay for %(time)s of reddit server time.") - their_message = _("%(user)s has helped pay for %%(time)s of reddit server " + my_message = _("you have helped pay for *%(time)s* of reddit server time.") + their_message = _("%(user)s has helped pay for *%%(time)s* of reddit server " "time.") - my_gift_message = _("gifts on your behalf have helped pay for %(time)s of " + my_gift_message = _("gifts on your behalf have helped pay for *%(time)s* of " "reddit server time.") their_gift_message = _("gifts on behalf of %(user)s have helped pay for " - "%%(time)s of reddit server time.") + "*%%(time)s* of reddit server time.") @classmethod def get_rate(cls, dt): diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index c6cece235..f87a477b5 100755 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -6368,6 +6368,11 @@ body:not(.gold) .allminus-link { p { padding: 5px 0; } + + em { + font-weight: bold; + color: #393939; + } } .server-seconds-public { diff --git a/r2/r2/templates/serversecondsbar.html b/r2/r2/templates/serversecondsbar.html index d074ed653..c87da9af1 100644 --- a/r2/r2/templates/serversecondsbar.html +++ b/r2/r2/templates/serversecondsbar.html @@ -20,16 +20,16 @@ ## reddit Inc. All Rights Reserved. ############################################################################### -<%namespace file="utils.html" import="inline_radio_type"/> +<%namespace file="utils.html" import="inline_radio_type, md"/>
%if thing.message: -

${thing.message}

+ ${md(thing.message)} %endif %if thing.gift_message: -

${thing.gift_message}

+ ${md(thing.gift_message)} %endif %if thing.is_user: