From 9a00b3bdbd15f4ab83c496e7ee4a35e447b4cfe6 Mon Sep 17 00:00:00 2001 From: Daizy Modi Date: Thu, 15 Dec 2022 16:51:00 +0530 Subject: [PATCH] fix: format html of verify email for book appointment --- erpnext/www/book_appointment/verify/index.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/erpnext/www/book_appointment/verify/index.html b/erpnext/www/book_appointment/verify/index.html index 58c07e85ccc..eaaf8ecfc73 100644 --- a/erpnext/www/book_appointment/verify/index.html +++ b/erpnext/www/book_appointment/verify/index.html @@ -5,14 +5,12 @@ {% endblock%} {% block page_content %} - - {% if success==True %} -
+ {%- set alert_class = 'alert-success' if success else 'alert-danger' -%} +
+ {% if success==True %} {{ _("Your email has been verified and your appointment has been scheduled") }} -
- {% else %} -
+ {% else %} {{ _("Verification failed please check the link") }} -
- {% endif %} + {% endif %} +
{% endblock%}