kcc-gem-theme 1.29.9 → 1.30.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85c6b53aeac85e624bf73d2487533bea59193e37638072b889268b254dc3fd89
4
- data.tar.gz: 43ba1fb8254c7347b2daa2b4e35969025ab0f07858b0cc5197a428320e84ac34
3
+ metadata.gz: bbad6a65a382d35ee41dc277a3667c9ddbb7e4e0d562b0befcba806812ae72df
4
+ data.tar.gz: dc184dd29f0a3d5fe5916ce1b263d47f0dceed5ffe473f34dc21e5f3c226670c
5
5
  SHA512:
6
- metadata.gz: cc56c2f42a7624c5af2ed0cbb84ba7eb7602e782689670742a010733e38cbf3b0f731d430c8c73eb9c3869d4a58b992ad32b215377455a6a474e66a0011908e5
7
- data.tar.gz: 32dfd86b958df23b6bad107d4f005572918875375574e36251823261780931eec4d407adf83242800bbf8f59eb143a103a26c13a8be25893686e7e155310e914
6
+ metadata.gz: bbf3dc74d4cb8e16778260091af8170bcb33bf42efc0119d4055068848f9fb6ab63560138c72e6c55a84f564217fdc5024e2b88445eb704e535888406021d658
7
+ data.tar.gz: 997091c7f8c66b70c9fee5ea0998f6d3ca276692a8f194779458e3f67646a5be9f69e8628f38ab02754df4a931234ab3287050e301ca7575bd66e2e353773f96
@@ -18,7 +18,7 @@
18
18
  {% assign contact_name = contact.name | split: " " %}
19
19
  {% assign first = contact_name[0] %}
20
20
  {% assign last = contact_name[1] %}
21
- {% if contact.portrait != "For departments with no contact photos, do not change this field." %}
21
+ {% if contact.portrait != 'For departments with no contact photos, do not change this field.' and contact.portrait != 'none' %}
22
22
  <div class="col-md-6 contacts__col-bottom-margin">
23
23
  <div class="row">
24
24
  <div class="col-4 contacts__col--img">
@@ -34,6 +34,22 @@
34
34
  </div>
35
35
  </div>
36
36
  </div>
37
+ {% elsif contact.portrait == 'none' %}
38
+ <div class="col-md-6 contacts__col-bottom-margin">
39
+ <div class="row">
40
+ <div class="col-4 contacts__col--img">
41
+ <!-- Contact has no portrait -->
42
+ </div>
43
+ <div class="col-8 float-right">
44
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
45
+ <h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>
46
+ <p class="notranslate">
47
+ <a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>
48
+ <a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a>
49
+ </p>
50
+ </div>
51
+ </div>
52
+ </div>
37
53
  {% else %}
38
54
  <div class="col-sm-6 col-md-4 mb-3">
39
55
  <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
@@ -16,7 +16,7 @@
16
16
  {% assign contact_name = contact.name | split: " " %}
17
17
  {% assign first = contact_name[0] %}
18
18
  {% assign last = contact_name[1] %}
19
- {% if contact.portrait != "For departments with no contact photos, do not change this field." %}
19
+ {% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
20
20
  <div class="col-md-6 contacts__col-bottom-margin">
21
21
  <div class="row">
22
22
  <div class="col-4 contacts__col--img">
@@ -32,6 +32,22 @@
32
32
  </div>
33
33
  </div>
34
34
  </div>
35
+ {% elsif contact.portrait == 'none' %}
36
+ <div class="col-md-6 contacts__col-bottom-margin">
37
+ <div class="row">
38
+ <div class="col-4 contacts__col--img">
39
+ <!-- No contact portrait -->
40
+ </div>
41
+ <div class="col-8 float-right">
42
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
43
+ <h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>
44
+ <p class="notranslate">
45
+ <a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>
46
+ <a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a>
47
+ </p>
48
+ </div>
49
+ </div>
50
+ </div>
35
51
  {% else %}
36
52
  <div class="col-sm-6 col-md-4 mb-3">
37
53
  <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.9
4
+ version: 1.30.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll