Archived
1
0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/view/Redeem_invite_note.py
Dan Helfman f00809955c * Users.signup(), Users.login(), and Root.default() now support optional invite_id parameter.
* Modified Wiki.js to include invite_id parameter when necessary.
 * Increased storage quota (and price) for premium rate plan.
 * Added a note displayed when redeeming an invite, with links to signup and login.
2007-12-27 22:16:47 +00:00

25 lines
663 B
Python

from Tags import Span, H3, P, A
class Redeem_invite_note( Span ):
def __init__( self, invite, notebook ):
title = None
Span.__init__(
self,
H3( notebook.name ),
P(
u"You are just seconds away from viewing \"%s\"." % notebook.name,
),
P(
u"If you already have a Luminotes account, then simply ",
A( u"login", href = u"/login?invite_id=%s" % invite.object_id, target = "_top" ),
u" to your account."
),
P(
u"Otherwise, please ",
A( u"sign up", href = u"/sign_up?invite_id=%s" % invite.object_id, target = "_top" ),
u" for a free account."
),
)