This is a directory report done by Grace Christian Fellowship. They contracted me to do the last bit of formatting for them and graciously agreed to share it here! Thanks Sarah Mikucki!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<html>
<head>
<link rel="stylesheet" href="https://use.typekit.net/waw0tlj.css">
{{ helpers.bootstrap_3 }}
<style>
@page {
margin: 0.5in;
}
.avatar {
width: 60px;
height: 60px;
border-radius: 50px 50px 50px 50px;
padding: 2px;
}
table {
border-collapse: collapse;
margin: auto;
width: 90%;
}
table th {
border-top: solid .5px #000;
border-bottom: solid .5px #000;
font-family: montserrat, sans-serif;
font-size: 11px;
font-weight: 700;
font-style: normal;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1.5px;
text-align: left;
padding: 10px;
word-wrap: break-word;
}
table tr {
break-inside: avoid-page;
!important
}
table tr td {
border-bottom: solid .5px #bfbfbf;
padding: 10px;
vertical-align: top;
word-wrap: break-word;
width: auto;
font-size: 11px;
font-family: eb-garamond, serif;
font-weight: 400;
font-style: normal;
}
table tr td:first-child {
width: 29%;
}
table tr td:nth-child(2) {
width: 23%;
}
table tr td:nth-child(3) {
width: 31%;
}
table tr td:last-child {
width: 17%;
}
.container {
width: 100%;
padding-top: 50px;
padding-bottom: 50px;
}
.family_member {
width: 100px;
float: left;
padding-right: 15px;
}
.family_member_name {
text-align: center;
padding-top: 3px;
}
.tab {
width: 49%;
float: left;
padding: 10px;
}
.tab-title {
font-size: 1.3em;
background-color: #eee;
padding: 5px;
border: 1px solid #eee;
}
.answer {
padding: 5px;
border: 1px solid #eee;
border-top: 0px;
}
</style>
</head>
<!--Directory Info -->
<body>
{% assign sorted_people = people | sort: 'last_name' %}
<div class="clearfix"></div>
<div class="container">
<table style="width: 100%">
<table border=0 col>
<thead>
<tr>
<th>Picture(s)</th>
<th>Name</th>
<th>Contact Information</th>
<th>Household Children</th>
</tr>
</thead>
<tbody>
{% for person in sorted_people %}
<!-- Prints All People -->
{% for household in person.households %}
{% if household.primary_contact.name == person.name %}
<tr>
<td>
{% for household_person in household.people %}
{% if household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
<div class="media-left">
<img class="avatar {% if household_person.id == household.primary_contact.id %}primary_contact{% endif %}"
src="{% if household_person.photo_url %}{{ household_person.photo_url }}{% else %}{{ no_avatar }}{% endif %}"
alt="avatar">
{% if marital_status == married %}
{% for household_person in household.people %}
{% unless household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
<img class="avatar {% if household_person.id == household.primary_contact.id %}primary_contact{% endif %}"
src="{% if household_person.photo_url %}{{ household_person.photo_url }}{% else %}{{ no_avatar }}{% endif %}"
alt="avatar">
{% endunless %}
{% endunless %}
{% endfor %}
{% endif %}
</div>
</td>
<td>
{% for household_person in household.people %}
{% if household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
<strong> {{ household_person.last_name }},
{{ household_person.first_name }}
{% endunless %}
{% endif %}
{% endfor %}</strong>
<strong> {% if marital_status == married %}
{% for household_person in household.people %}
{% unless household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
& {{ household_person.first_name }}
{% endunless %}
{% endunless %}
{% endfor %}</strong>
{% endif %}
<strong>{% if marital_status == single %}
{% for household_person in household.people %}
{% unless household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
{% endunless %}
{% endunless %}
{% endfor %}</strong>
{% endif %}
<br>
{% for primary_contact in person.primary_contacts %}
{{ primary_contact.primary_address.postal_address }}
<br><br>
{% for phone_number in household_person.phone_numbers %}
{% if phone_number.location == home %} Home Phone: {{ phone_number.number }}
<br>{% endif %}
{% endfor %}
{% endfor %} <br>
{% endunless %}
{% endif %}
{% endfor %}<br>
</td>
<td>
{% for household_person in household.people %}
{% if household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
<strong>{{ household_person.first_name }}
{{ household_person.name_suffix }}</strong><br>
{% for phone_number in household_person.phone_numbers %}
{% unless phone_number.location == home %}
{{ phone_number.location }}: {{ phone_number.number }}
<br>{% endunless %}{% endfor %}
{% for email in household_person.emails %}
<em>Email:</em> {{ email.address }}<br>{% endfor %}
<br>
{% endunless %}
{% endif %}
{% endfor %}
{% for household_person in household.people %}
{% unless household_person.id == household.primary_contact.id %}
{% unless household_person.child %}
<div class="media-left">
<strong>{{ household_person.first_name }}
{{ household_person.name_suffix }}<br> </strong>
{% for phone_number in household_person.phone_numbers %}
{{ phone_number.location }}: {{ phone_number.number }}<br>
{% endfor %}
{% for email in household_person.emails %}
<em>Email:</em> {{ email.address }}<br>
{% endfor %}
{% endunless %}
{% endunless %}
{% endfor %}
</div>
</td>
<td>{% for household_person in household.people %}
{% if household_person.child %}
<div class="media-left">
{{ household_person.first_name }} {{ household_person.last_name }}
{{ household_person.name_suffix }} <br>
{% endif %}
{% endfor %}
</div>
</td>
</tr>
{% endif %}
{% endfor %}
{% endfor %}
</tbody>
</table>
</table>
</div>
</body>
</html>