<commit_before>
<html>
	<head>
		<meta name="layout" content="members" />
		<title><g:message code="fedreg.view.members.contacts.list.title" /></title>
		<script type="text/javascript">
			<njs:datatable tableID="contactlist" sortColumn="0" />
		</script>
	</head>
	<body>

		<section>
			<h2><g:message code="fedreg.view.members.contacts.list.heading" /></h2>

			<table id="contactlist">
				<thead>
					<tr>
						<th><g:message code='label.givenname' /></th>
						<th><g:message code='label.surname' /></th>
						<th><g:message code='label.organization' /></th>
						<th/>
					</tr>
				</thead>
				<tbody>
				<g:each in="${contactList}" status="i" var="contact">
					<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
						<td>${fieldValue(bean: contact, field: "givenName")}</td>
						<td>${fieldValue(bean: contact, field: "surname")}</td>
						<td>${fieldValue(bean: contact, field: "organization.displayName")}</td>
						<td><n:button href="${createLink(action:'show', id:contact.id)}" label="label.view"  icon="arrowthick-1-ne"/></td>
					</tr>
				</g:each>
				</tbody>
			</table>
			
		</section>
	</body>
</html><commit_msg>Added email address to contact list view to allow for dynamic search/sort on that field<commit_after>
<html>
	<head>
		<meta name="layout" content="members" />
		<title><g:message code="fedreg.view.members.contacts.list.title" /></title>
		<script type="text/javascript">
			<njs:datatable tableID="contactlist" sortColumn="0" />
		</script>
	</head>
	<body>

		<section>
			<h2><g:message code="fedreg.view.members.contacts.list.heading" /></h2>

			<table id="contactlist">
				<thead>
					<tr>
						<th><g:message code='label.givenname' /></th>
						<th><g:message code='label.surname' /></th>
						<th><g:message code='label.email' /></th>
						<th><g:message code='label.organization' /></th>
						<th/>
					</tr>
				</thead>
				<tbody>
				<g:each in="${contactList}" status="i" var="contact">
					<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
						<td>${fieldValue(bean: contact, field: "givenName")}</td>
						<td>${fieldValue(bean: contact, field: "surname")}</td>
						<td><a href="mailto:${fieldValue(bean: contact, field: "email.uri")}">${fieldValue(bean: contact, field: "email.uri")}</a></td>
						<td>${fieldValue(bean: contact, field: "organization.displayName")}</td>
						<td><n:button href="${createLink(action:'show', id:contact.id)}" label="label.view"  icon="arrowthick-1-ne"/></td>
					</tr>
				</g:each>
				</tbody>
			</table>
			
		</section>
	</body>
</html>
{'fraction_non_alphanumeric': 0.23058823529411765, 'fraction_numerical': 0.004705882352941176, 'mean_word_length': 3.638181818181818, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 0, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1454279', 'n_tokens_mistral': 1144, 'n_tokens_neox': 914, 'n_words': 168}