Embolden gold server seconds metric.

This commit is contained in:
Max Goodman
2013-10-09 16:07:29 -07:00
committed by Neil Williams
parent daf5f8df27
commit ba5d54c399
3 changed files with 12 additions and 7 deletions

View File

@@ -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):

View File

@@ -6368,6 +6368,11 @@ body:not(.gold) .allminus-link {
p {
padding: 5px 0;
}
em {
font-weight: bold;
color: #393939;
}
}
.server-seconds-public {

View File

@@ -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"/>
<div class="titlebox">
<div class="server-seconds rounded">
%if thing.message:
<p>${thing.message}</p>
${md(thing.message)}
%endif
%if thing.gift_message:
<p>${thing.gift_message}</p>
${md(thing.gift_message)}
%endif
%if thing.is_user: