implemented newsletter subscribe feedback
This commit is contained in:
parent
2786c7ea7f
commit
70d115567c
@ -362,6 +362,9 @@ strong {
|
||||
margin-top: $distance_small;
|
||||
background-color: $color_orange;
|
||||
}
|
||||
#footer-nl-success{
|
||||
margin-top: $distance_medium;
|
||||
}
|
||||
a {
|
||||
color: $color_white;
|
||||
display: block;
|
||||
|
||||
@ -72,8 +72,8 @@ $(document).ready(function() {
|
||||
if(!data.status){
|
||||
alert("Das Eintragen in den Newsletter hat leider nicht funktioniert. Bitte versuche es später noch einmal. Danke.");
|
||||
} else {
|
||||
$('#confirm').show();
|
||||
$('#formular').hide();
|
||||
$('#footer-nl-success').removeClass('d-none');
|
||||
$('#footer-nl').addClass('d-none');
|
||||
}
|
||||
},
|
||||
error: function(){
|
||||
|
||||
@ -87,6 +87,9 @@
|
||||
<input id="footer-nl-email" class="form-control" name="email" type="text" placeholder="${footer_newsletter_email_placeholder}"/>
|
||||
<input id="footer-nl-subscribe" class="btn" name="submit" type="submit" value="${footer_newsletter_email_value}"/>
|
||||
</div>
|
||||
<div id="footer-nl-success" class="d-none">
|
||||
${footer_subscribe_success}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3>${footer_legal_heading}</h3>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user