From 35bf2e1875cf895d44ba2f8198d1a5b9db37a4dc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 11 Jul 2017 10:56:01 +0530 Subject: [PATCH] [style] make payment pages standard (#3655) --- payments/templates/pages/payment-cancel.html | 21 +++++++++++++------ payments/templates/pages/payment-failed.html | 21 +++++++++++++------ payments/templates/pages/payment-success.html | 21 ++++++++++++------- 3 files changed, 44 insertions(+), 19 deletions(-) diff --git a/payments/templates/pages/payment-cancel.html b/payments/templates/pages/payment-cancel.html index 83da017..8d107fd 100644 --- a/payments/templates/pages/payment-cancel.html +++ b/payments/templates/pages/payment-cancel.html @@ -2,11 +2,20 @@ {% block title %}{{ _("Payment Cancelled") }}{% endblock %} -{%- block header -%} -

{{ _("Payment Cancelled") }}

-{% endblock %} - {%- block page_content -%} -

{{ _("You have cancelled the payment") }}

-


Back to home page

+
+
+ + {{ _("Payment Cancelled") }} +
+

{{ _("Your payment is cancelled.") }}

+
+ {{ _("Continue") }}
+
+ + {% endblock %} diff --git a/payments/templates/pages/payment-failed.html b/payments/templates/pages/payment-failed.html index 92f676b..570785f 100644 --- a/payments/templates/pages/payment-failed.html +++ b/payments/templates/pages/payment-failed.html @@ -2,11 +2,20 @@ {% block title %}{{ _("Payment Failed") }}{% endblock %} -{%- block header -%} -

{{ _("Payment Failed") }}

-{% endblock %} - {%- block page_content -%} -

{{ _("Oops. Your payment has failed.") }}

-

{{ frappe.form_dict.redirect_message or _("Continue") }}

+
+
+ + {{ _("Payment Failed") }} +
+

{{ _("Your payment has failed.") }}

+
+ {{ _("Continue") }}
+
+ + {% endblock %} diff --git a/payments/templates/pages/payment-success.html b/payments/templates/pages/payment-success.html index ee1dc49..3572584 100644 --- a/payments/templates/pages/payment-success.html +++ b/payments/templates/pages/payment-success.html @@ -2,12 +2,19 @@ {% block title %}{{ _("Payment Success") }}{% endblock %} -{%- block header -%} -

{{ _("Payment Success") }}

-{% endblock %} - {%- block page_content -%} -

{{ _("Your payment was successfully accepted") }}

-

{{ frappe.form_dict.redirect_message or _("Continue") }}

+
+
+ + {{ _("Success") }} +
+

{{ _("Your payment was successfully accepted") }}

+
+ {{ _("Continue") }}
+
+ {% endblock %}