Personal wiki notebook (not under development)

Thanks_download_note.py 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. from Tags import Span, H3, P, A
  2. from config.Version import VERSION
  3. class Thanks_download_note( Span ):
  4. def __init__( self, download_url ):
  5. news_url = u"http://luminotes.com/hg/luminotes/file/%s/NEWS" % VERSION
  6. Span.__init__(
  7. self,
  8. H3( u"thank you" ),
  9. P(
  10. u"""
  11. Thank you for purchasing Luminotes Desktop! Your payment has been received,
  12. and a receipt for your purchase has been emailed to you.
  13. """,
  14. ),
  15. P(
  16. A( u"Download Luminotes Desktop version %s" % VERSION, href = download_url ),
  17. ),
  18. P(
  19. A( "What's new in this release", href = news_url, target = "_new" ),
  20. class_ = u"small_text",
  21. ),
  22. P(
  23. u"""
  24. It's a good idea to bookmark this page so that you can download
  25. Luminotes Desktop or upgrade to new versions as they are released.
  26. """,
  27. ),
  28. P(
  29. u"""
  30. If you have any questions about Luminotes Desktop or your purchase, please
  31. """,
  32. A( u"contact support", href = u"/contact_info", target = "_top" ),
  33. u"""
  34. for assistance.
  35. """,
  36. ),
  37. )