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()
response['success'] = True
response['redirect'] = True
response['redirect_url'] = SubscribeView.success_url
else:
response['errors'] = form.errors

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

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

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

Loading…
Cancel
Save