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.
 
 
 
 
 
 

19 regels
529 B

  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. import webnotes
  5. no_cache = 1
  6. no_sitemap = 1
  7. def get_context(context):
  8. message_context = {}
  9. if hasattr(webnotes.local, "message"):
  10. message_context["title"] = webnotes.local.message_title
  11. message_context["message"] = webnotes.local.message
  12. if hasattr(webnotes.local, "message_success"):
  13. message_context["success"] = webnotes.local.message_success
  14. return message_context