Personal wiki notebook (not under development)

Redeem_invite_note.py 645B

1234567891011121314151617181920212223
  1. from Tags import Span, H3, P, A
  2. class Redeem_invite_note( Span ):
  3. def __init__( self, invite, notebook ):
  4. Span.__init__(
  5. self,
  6. H3( notebook.name ),
  7. P(
  8. u"You are just seconds away from viewing \"%s\"." % notebook.name,
  9. ),
  10. P(
  11. u"If you already have a Luminotes account, then simply ",
  12. A( u"login", href = u"/login?invite_id=%s" % invite.object_id, target = "_top" ),
  13. u" to your account."
  14. ),
  15. P(
  16. u"Otherwise, please ",
  17. A( u"sign up", href = u"/sign_up?invite_id=%s" % invite.object_id, target = "_top" ),
  18. u" for a free account."
  19. ),
  20. )