Explorar el Código

Remove unescaped strings on bonus page

James Allen hace 12 años
padre
commit
2a6041752d
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      services/web/app/views/referal/bonus.jade

+ 3 - 3
services/web/app/views/referal/bonus.jade

@@ -80,11 +80,11 @@ block content
 							.row.ab-bonus
 							.row.ab-bonus
 								.col-md-10.col-md-offset-1.bonus-banner
 								.col-md-10.col-md-offset-1.bonus-banner
 									- if (refered_user_count == 0)
 									- if (refered_user_count == 0)
-										p.thanks #{translate("you_not_introed_anyone_to_sl")}
+										p.thanks !{translate("you_not_introed_anyone_to_sl")}
 									- else if (refered_user_count == 1)
 									- else if (refered_user_count == 1)
-										p.thanks #{translate("you_introed_small_number", {numberOfPeople:"<strong>#{refered_user_count}</strong>"})}
+										p.thanks !{translate("you_introed_small_number", {numberOfPeople:"<strong>" + refered_user_count + "</strong>"})}
 									- else
 									- else
-										p.thanks #{translate("you_introed_high_number", {numberOfPeople:"<strong>#{refered_user_count}</strong>"})}
+										p.thanks !{translate("you_introed_high_number", {numberOfPeople:"<strong>" + refered_user_count + "</strong>"})}
 						
 						
 						script(type="text/ng-template", id="BonusLinkToUsModal")
 						script(type="text/ng-template", id="BonusLinkToUsModal")
 							.modal-header
 							.modal-header