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 +4 -4
- data/_includes/contacts-tan.html +17 -1
- data/_includes/contacts.html +17 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbad6a65a382d35ee41dc277a3667c9ddbb7e4e0d562b0befcba806812ae72df
|
4
|
+
data.tar.gz: dc184dd29f0a3d5fe5916ce1b263d47f0dceed5ffe473f34dc21e5f3c226670c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf3dc74d4cb8e16778260091af8170bcb33bf42efc0119d4055068848f9fb6ab63560138c72e6c55a84f564217fdc5024e2b88445eb704e535888406021d658
|
7
|
+
data.tar.gz: 997091c7f8c66b70c9fee5ea0998f6d3ca276692a8f194779458e3f67646a5be9f69e8628f38ab02754df4a931234ab3287050e301ca7575bd66e2e353773f96
|
data/_includes/contacts-tan.html
CHANGED
@@ -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 !=
|
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 }}&to[last]={{ last }}&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>
|
data/_includes/contacts.html
CHANGED
@@ -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 }}&to[last]={{ last }}&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.
|
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-
|
11
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|