From be14b19c55563333141ed2dbdc48a2cca18f4687 Mon Sep 17 00:00:00 2001 From: Brian Simpson Date: Wed, 25 Sep 2013 17:05:58 -0400 Subject: [PATCH] Use g.min_promote_bid in spotlight box message. --- r2/r2/templates/spotlightlisting.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/r2/r2/templates/spotlightlisting.html b/r2/r2/templates/spotlightlisting.html index 28ae09374..21996dbcc 100644 --- a/r2/r2/templates/spotlightlisting.html +++ b/r2/r2/templates/spotlightlisting.html @@ -28,6 +28,10 @@ from r2.lib.wrapped import Templated %> +<%! + from babel.numbers import format_currency +%> +
%if thing.things: %for link in thing.things: @@ -61,7 +65,7 @@

${text_with_links( - _("Use of this tool is open to all members of reddit.com, and for as little as $20 you can advertise in this area. %(get_started)s"), + _("Use of this tool is open to all members of reddit.com, and for as little as %(price)s you can advertise in this area. %%(get_started)s") % dict(price=format_currency(g.min_promote_bid, 'USD', locale=c.locale)), get_started=dict(link_text=unsafe(_("Get started ›")), path="/ad_inq") )}