Commit a49138a8 authored by Łukasz Nowak's avatar Łukasz Nowak

Redirect with nicer message to just created HS.

parent bb20cdf9
...@@ -78,8 +78,8 @@ request_kw.update(\n ...@@ -78,8 +78,8 @@ request_kw.update(\n
\n \n
person.requestSoftwareInstance(**request_kw)\n person.requestSoftwareInstance(**request_kw)\n
\n \n
message = context.Base_translateString("Your instance is under creation. Thank you for using ViFiB!")\n message = context.Base_translateString("Your instance is under creation. Please wait few minutes for partitions to appear.")\n
return context.getWebSiteValue().Base_redirect(keep_items={\'portal_status_message\': message})\n return context.REQUEST.get(\'request_hosting_subscription\').Base_redirect(keep_items={\'portal_status_message\': message})\n
]]></string> </value> ]]></string> </value>
......
...@@ -94,8 +94,8 @@ if computer:\n ...@@ -94,8 +94,8 @@ if computer:\n
\n \n
person.requestSoftwareInstance(**request_kw)\n person.requestSoftwareInstance(**request_kw)\n
\n \n
message = context.Base_translateString("Your instance is under creation. Thank you for using ViFiB!")\n message = context.Base_translateString("Your instance is under creation. Please wait few minutes for partitions to appear.")\n
return context.getWebSiteValue().Base_redirect(keep_items={\'portal_status_message\': message})\n return context.REQUEST.get(\'request_hosting_subscription\').Base_redirect(keep_items={\'portal_status_message\': message})\n
]]></string> </value> ]]></string> </value>
......
353 354
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment