witten
/
luminotes
Archived
1
0
Fork 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

23 lines
645 B
Python

from Tags import Span, H3, P, A
class Redeem_invite_note( Span ):
def __init__( self, invite, notebook ):
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."
),
)