jekyll-theme-glueckkanja 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a582e0847f98040653ebfa83100f2a9e382a27a68c90621e13fe7762c62050ca
4
- data.tar.gz: e73cfd56f4239e50e0b851c68ec582155f8ff8459165e18294203ca9bbe08a5d
3
+ metadata.gz: 6b0d8967913f5dba2b1b85c4731232c565b342716683fccd8fa9cb52f9f0fe55
4
+ data.tar.gz: 113c284fba796999379bb9b16001315bb6ccc5a8fe240547abe5f5d7f799b204
5
5
  SHA512:
6
- metadata.gz: 8840b6efb2ba723e6b5759a7ba944bdd6d1de0e5ac099b648535dedce3882cd4a4be8100a71e4bf52a874c45d252a35922c88d7b6973b1ab5d73a2ead4cf12ce
7
- data.tar.gz: b3b39aefe22be139f0bc4a9b12788eaefd140c0cda02adb08b14b9a7ed635f5915a2d46e540e6e2c9cea9bea76035bfe449cee914de49851d1aa81360fd1ba34
6
+ metadata.gz: 0f1ced044eefccac72ebaca81df265a8d5280497191df0d1259cf601b06cbd6aaaf54c018559bfb5b778804a7e1c71eaec355010f1cb35f12f4ee370ecb2031b
7
+ data.tar.gz: 5d0165e03643645da814e593d6090102d082fea2283f693b99b2abca1be4d238bfd219338052ec2902c357a6ed77f38468fbabf6c69b0a3b49741bb7790fcfd9
@@ -2,24 +2,13 @@
2
2
 
3
3
  <footer>
4
4
  <div class="container">
5
- {% if page.lang == "en" %}
6
5
  <div class="col-md-10">
7
- <p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}. All rights
8
- reserved. <a href="/en/company/privacy">Privacy</a> | <a href="/en/company/imprint">Imprint</a>
9
- </div>
6
+ <p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}.
7
+ All rights reserved. <a href="/assets/misc/privacy-policy/">Privacy Policy</a> | <a href="/assets/misc/imprint/">Imprint</a> </div>
10
8
  <div class="col-md-2">
11
9
  <p class="text-primary"><a href="https://glueckkanja.com"><strong>glueckkanja.com</strong></a></p>
12
10
  </div>
13
- {% else %}
14
- <div class="col-md-10">
15
- <p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}. All rights
16
- reserved. <a href="/de/unternehmen/datenschutz">Datenschutz</a> | <a href="/de/unternehmen/impressum">Impressum</a>
17
- </div>
18
- <div class="col-md-2">
19
- <p class="text-primary"><a href="https://glueckkanja.com"><strong>glueckkanja.com</strong></a></p>
20
- </div>
21
- {% endif %}
22
11
  </div>
23
12
  </footer>
24
13
 
25
- <!-- Footer End -->
14
+ <!-- Footer End -->
@@ -11,7 +11,7 @@
11
11
 
12
12
  <!-- jQuery -->
13
13
  <!--script type="text/javascript" charset="UTF-8" src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script-->
14
- <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
14
+ <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
15
15
 
16
16
  <!-- Bootstrap Core JavaScript -->
17
17
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
data/assets/js/guk.js CHANGED
@@ -1,18 +1,27 @@
1
1
 
2
2
  function sendTheMail(formtype) {
3
3
  InputName = $('#name').val();
4
- InputEmail = $('#email').val();
5
4
  InputCompany = $('#company').val();
6
5
  InputMessage = $('#message').val();
6
+ InputPhone = $('#phone').val();
7
+ InputUsers = $('#users').val();
8
+ if (formtype != 'glueckkanja-subscribe') {
9
+ InputEmail = $('#email').val();
10
+ } else {
11
+ InputEmail = $('#subscriberemail').val();
12
+ }
7
13
 
8
14
  if (validateEmail(InputEmail)) {
9
- FS.identify($('#email').val(), {
10
- displayName: $('#name').val() + ' (' + $('#company').val() + ')',
11
- email: $('#email').val()
12
- });
15
+ try {
16
+ FS.identify($('#email').val(), {
17
+ displayName: $('#name').val() + ' (' + $('#company').val() + ')',
18
+ email: $('#email').val()
19
+ });
20
+ } catch(error) {}
13
21
 
14
22
  var req = { "inputcompany": InputCompany, "inputname": InputName,
15
- "inputemail": InputEmail, "inputmessage": InputMessage, "formtype": formtype };
23
+ "inputemail": InputEmail, "inputphone": InputPhone, "inputusers": InputUsers,
24
+ "inputmessage": InputMessage, "formtype": formtype };
16
25
 
17
26
  $.ajax({
18
27
  type: "POST",
@@ -26,13 +35,7 @@ function sendTheMail(formtype) {
26
35
  }
27
36
  });
28
37
  switch(formtype) {
29
- case "trial":
30
- $("#downloadtrial").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks. You'll receive an email within the next minutes.</p>" );
31
- break;
32
- case "partner":
33
- $("#downloadtrial").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks. You'll receive an email within the next minutes.</p>" );
34
- break;
35
- case "subscribe":
38
+ case "glueckkanja-subscribe":
36
39
  $("#subscribebtn").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks!</p>" );
37
40
  }
38
41
  }
@@ -41,16 +44,8 @@ function sendTheMail(formtype) {
41
44
  }
42
45
  }
43
46
 
44
- function regform() {
45
- sendTheMail('trial');
46
- }
47
-
48
- function partnerform() {
49
- sendTheMail('partner');
50
- }
51
-
52
47
  function subscribeform() {
53
- sendTheMail('subscribe');
48
+ sendTheMail('glueckkanja-subscribe');
54
49
  }
55
50
 
56
51
  function validateEmail(email) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-glueckkanja
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@glueckkanja"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-29 00:00:00.000000000 Z
11
+ date: 2019-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll