diff --git a/frappe/__init__.py b/frappe/__init__.py index e8d37e929a..2aa98fc5aa 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -1040,7 +1040,7 @@ def respond_as_web_page(title, html, success=None, http_status_code=None, local.response['context'] = context -def redirect_to_message(title, html, http_status_code=None, context=None, indicator=None): +def redirect_to_message(title, html, http_status_code=None, context=None, indicator_color=None): """Redirects to /message?id=random Similar to respond_as_web_page, but used to 'redirect' and show message pages like success, failure, etc. with a detailed message diff --git a/frappe/www/message.html b/frappe/www/message.html index b99a81a6bc..0eb183fcfd 100644 --- a/frappe/www/message.html +++ b/frappe/www/message.html @@ -6,7 +6,8 @@
{{ message or "" }}
{% if primary_action %}