CPM is new message.

This commit is contained in:
Brian Simpson
2013-09-13 06:28:27 -04:00
parent dd2be333d8
commit cf40ae1906
3 changed files with 6 additions and 2 deletions

View File

@@ -3386,7 +3386,10 @@ class PromoteLinkForm(Templated):
sr_inventory[''] = sr_inventory[Frontpage.name]
del sr_inventory[Frontpage.name]
self.inventory = sr_inventory
message = _("reddit ads are now sold on a CPM basis. "
"[Here's how it works](%(link)s)")
message %= {'link': 'http://www.slideshare.net/reddit/how-to-use-reddits-selfserve-advertising-platform'}
self.infobar = InfoBar(message=message)
class PromoAdminTool(Reddit):
def __init__(self, query_type=None, launchdate=None, start=None, end=None, *a, **kw):

View File

@@ -5031,7 +5031,6 @@ div #campaign-field {
.fancy-settings h2 { font-size: 200%; font-weight:normal; color: #999; margin:10px 5px; }
.fancy-settings h1 strong { font-weight:bold; color: #666; }
.create-promotion .sitetable { margin: 5px; }
.create-promotion .infobar { margin-left: 12px; width: 479px; background-color: #fbd8d8; margin-bottom: 10px; }
.create-promotion .create-promo .save-button { float:right; margin-right: 3px; }
.create-promotion .create-promo .save-button button {

View File

@@ -70,6 +70,8 @@ ${unsafe(js.use('sponsored'))}
${thing.listing}
${thing.infobar}
<div class="create-promo">
${campaign_dashboard()}