From d8eccee5aa90f6e3f770341e6988d930933fb18e Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 28 Jul 2008 16:09:20 -0700 Subject: [PATCH] In several places, made it clearer that sign up is free to entice people to go to the pricing/signup page. --- static/css/style.css | 10 ++++++++++ view/Header.py | 8 ++++---- view/Link_area.py | 7 ++++++- view/Tour_page.py | 2 +- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index fcce3d8..822c8fc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -819,3 +819,13 @@ h1 { cursor: pointer; } +.hook_action_area { + background-color: #ffff99; + font-weight: bold; + padding: 1em; + text-align: center; +} + +.hook_action { + font-size: 105%; +} diff --git a/view/Header.py b/view/Header.py index bbc553b..29179a0 100644 --- a/view/Header.py +++ b/view/Header.py @@ -13,8 +13,8 @@ class Header( Div ): Div( ( note_title == u"home" ) and title_image or A( title_image, href = u"/" ), ( login_url and user.username == u"anonymous" ) and Div( - ( note_title == u"pricing" ) and Span( u"pricing & sign up", class_ = u"bold_link" ) or \ - A( u"pricing & sign up", href = u"/pricing", class_ = u"bold_link" ), u" | ", + ( note_title == u"pricing" ) and Span( u"sign up for free", class_ = u"bold_link" ) or \ + A( u"sign up for free", href = u"/pricing", class_ = u"bold_link" ), u" | ", A( u"login", href = login_url, @@ -50,9 +50,9 @@ class Header( Div ): ), " | ", ) or Span( - ( note_title == u"pricing" ) and Span( u"pricing & sign up", class_ = u"bold_link" ) or \ + ( note_title == u"pricing" ) and Span( u"sign up for free", class_ = u"bold_link" ) or \ A( - u"pricing & sign up", + u"sign up for free", href = u"/pricing", title = u"Sign up for a real Luminotes account.", class_ = u"bold_link", diff --git a/view/Link_area.py b/view/Link_area.py index 4ed223b..7625582 100644 --- a/view/Link_area.py +++ b/view/Link_area.py @@ -1,4 +1,4 @@ -from Tags import Div, Span, H4, A, Strong, Img +from Tags import Div, P, Span, H4, A, Strong, Img from Rounded_div import Rounded_div from Search_form import Search_form @@ -14,6 +14,11 @@ class Link_area( Div ): Div.__init__( self, Div( + (user.username is None ) and P( + A( u"Sign up for free", href = u"/pricing", class_ = u"hook_action" ), + class_ = u"hook_action_area", + separator = u"", + ) or None, Div( H4( u"this notebook", id = u"this_notebook_area_title" ), Div( diff --git a/view/Tour_page.py b/view/Tour_page.py index e06a4b9..7ccd8ca 100644 --- a/view/Tour_page.py +++ b/view/Tour_page.py @@ -108,7 +108,7 @@ class Tour_page( Product_page ): Span( u"Like what you've seen so far?", class_ = u"hook_action_question" ), Br(), A( u"Try the demo", href = u"/users/demo", class_ = u"hook_action" ), Span( u" or ", class_ = u"hook_action_or" ), - A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ), + A( u"Sign up for free", href = u"/pricing", class_ = u"hook_action" ), class_ = u"hook_action_area", separator = u"", ),