kcc-gem-theme 2.9.1 → 2.10.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contacts.html +10 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3fd582115d4ef6728c3a6a2e030cfe471126dc1f9974d1589212258317971ee
4
- data.tar.gz: e258f87ba6d5ed3d6627aba3d0aabf66bc80068cb85b2b59d55d96e7448db310
3
+ metadata.gz: d44515db6bc2f0ff90ca6fff42d8cd5c9bdc053b0f1d7d7ea51b1c0f4bc0bdbd
4
+ data.tar.gz: 23ed7e1e8d4cc0aeed14b2f39d22123d71e7fb0c8071fc1df8686def5d249727
5
5
  SHA512:
6
- metadata.gz: 83ef2e4d2373f3195e4b33da3732b03e4953a3323f44650f83361ac2f3a8b81796c1c7ecad108d429f59460e109cc8612968a9a43c5060acf198ab91c91d1683
7
- data.tar.gz: 167ae122bebe6af4e37c7488b4160566a53ebf692d257d5b8a1fdbddd897d4bc99c07db2523095f1fa354df59d7b1ada963622b539418e86a29f29c95ca4c4c2
6
+ metadata.gz: 5547fabd33b7b9608e630ea69351d16699de8b456175e00ba13862d9237079617f975da11cfd6af967fb40611243347f36fc1bc14864601144ee7b07d34622cb
7
+ data.tar.gz: b2a519bf6b15c672250aeb770a202ee1f3febcb50659b13e1aecdf2e259ae9acfe82a4fc0eded544e8dc0f4ce7cb463f042c8960654fc76f51add4fdafa938ea
@@ -29,6 +29,11 @@
29
29
  {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
30
30
  <p class="notranslate">
31
31
  {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
32
+ {% if contact.general %}
33
+ {% for item in contact.general %}
34
+ <span class="typography__contacts--title">{{ item.label }}:</span>&nbsp;<a href="tel:+1{{ item.phone | remove: '-' }}">{{ item.phone }}</a><br>
35
+ {% endfor %}
36
+ {% endif %}
32
37
  {% if contact.email %}<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><br>{% endif %}
33
38
  {%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
34
39
  {%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
@@ -42,6 +47,11 @@
42
47
  {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
43
48
  <p class="notranslate">
44
49
  {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
50
+ {% if contact.general %}
51
+ {% for item in contact.general %}
52
+ <span class="typography__contacts--title">{{ item.label }}:</span>&nbsp;<a href="tel:+1{{ item.phone | remove: '-' }}">{{ item.phone }}</a><br>
53
+ {% endfor %}
54
+ {% endif %}
45
55
  {% if contact.email %}<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><br>{% endif %}
46
56
  {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
47
57
  {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
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: 2.9.1
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-24 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll