1192: all Done.

remotes/origin/landing
Alexander Burdeiny 10 years ago
parent c0a3be6714
commit b5fb16c997
  1. 2
      emencia/django/newsletter/views/expo_views.py
  2. 8
      static/client/js/_modules/block.common.js
  3. 2
      templates/client/newsletters/activation_send.html
  4. 4
      templates/client/popups/announce_subscription.html

@ -159,6 +159,8 @@ def popup_validate(request):
contact.send_activation() contact.send_activation()
response['success'] = True response['success'] = True
response['redirect'] = True
response['redirect_url'] = SubscribeView.success_url
else: else:
response['errors'] = form.errors response['errors'] = form.errors

@ -236,6 +236,10 @@ if (EXPO.common){
} }
if (id == "callback-form"){ if (id == "callback-form"){
dataLayer.push({'event': 'callbackform'}); dataLayer.push({'event': 'callbackform'});
}
if (id == "subscribe-form" && data.redirect){
window.location.href = data.redirect_url;
return
} }
$.fancybox.close(); $.fancybox.close();
@ -695,7 +699,7 @@ if (EXPO.common){
* @prop {object} seoHrefs - hashes to find proper links to hide on page * @prop {object} seoHrefs - hashes to find proper links to hide on page
* @method decode - decode bas64-code to html * @method decode - decode bas64-code to html
*/ */
that.SEOhide = { that.SEOhide = {
seoContent:{}, seoContent:{},
seoHrefs:{}, seoHrefs:{},
@ -717,7 +721,7 @@ if (EXPO.common){
break; break;
} }
} }
} }
}; };
/** /**

@ -14,7 +14,7 @@
<div class="i-address"> <div class="i-address">
<header> <header>
<div class="address"> <div class="address">
{% trans 'Мы работаем для настоящий и живых подписчиков! Поэтому подтвердите свой email, письмо уже на Вашей почте!' %} {% trans 'Мы работаем для настоящих и живых подписчиков! Поэтому подтвердите свой email, письмо уже на Вашей почте!' %}
</div> </div>
</header> </header>

@ -19,7 +19,7 @@
<div class="step1" > <div class="step1" >
<div class="label"> <div class="label">
<p> <p>
{% trans 'Более <b>30 000 профессионалов</b> получают наши анонсы событий каждую среду. Присоединяйтесь!' %} {% trans 'Более <b>40 000 профессионалов</b> получают наши анонсы событий каждую среду. Присоединяйтесь!' %}
</p> </p>
</div> </div>
@ -98,4 +98,4 @@
}); });
</script> </script>
{% endif %} {% endif %}
{% endif %} {% endif %}

Loading…
Cancel
Save