Personal wiki notebook (not under development)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Processing_note.py 587B

12345678910111213141516171819202122232425
  1. from Tags import Html, Head, Meta, H3, P
  2. class Processing_note( Html ):
  3. def __init__( self, rate_plan, retry_count ):
  4. if not retry_count:
  5. retry_count = 0
  6. retry_count += 1
  7. Html.__init__(
  8. self,
  9. Head(
  10. Meta(
  11. http_equiv = u"Refresh",
  12. content = u"2; URL=/users/thanks?item_number=%s&retry_count=%s" % ( rate_plan, retry_count ),
  13. ),
  14. ),
  15. H3( u"processing..." ),
  16. P(
  17. """
  18. Your subscription is being processed. This shouldn't take more than a minute. Please wait...
  19. """,
  20. ),
  21. )