witten
/
luminotes
Archived
1
0
Fork 0

Changed "upgrade" link to always show up, even for accounts with a rate plan > 0.

This commit is contained in:
Dan Helfman 2008-01-05 00:45:53 +00:00
parent 980ad74e79
commit 0d9ceeef10
1 changed files with 8 additions and 9 deletions

View File

@ -14,21 +14,20 @@ class User_area( Div ):
) or Div(
u"logged in as %s" % ( user.username or u"a guest" ),
" | ",
( user.username == None ) and Span(
A(
u"sign up",
href = u"/sign_up",
title = u"Sign up for a real Luminotes account.",
),
" | ",
) or None,
( user.username and user.rate_plan == 0 ) and Span(
user.username and Span(
A(
u"upgrade",
href = u"/upgrade",
title = u"Upgrade your Luminotes account.",
),
" | ",
) or Span(
A(
u"sign up",
href = u"/sign_up",
title = u"Sign up for a real Luminotes account.",
),
" | ",
) or None,
A(
u"logout",