<commit_before>
<%@ page import="fedreg.core.Organization" %>
<html>
	<head>
		
		<meta name="layout" content="members" />
		<title><g:message code="fedreg.view.members.organization.show.title" /></title>
		
		<script type="text/javascript">
			var organizationFullAdministratorGrantEndpoint = "${createLink(controller:'organizationAdministration', action:'grantFullAdministration', id:organization.id)}";
			var organizationFullAdministratorRevokeEndpoint = "${createLink(controller:'organizationAdministration', action:'revokeFullAdministration', id:organization.id)}";
			var organizationFullAdministratorListEndpoint = "${createLink(controller:'organizationAdministration', action:'listFullAdministration', id:organization.id)}";
			var organizationFullAdministratorSearchEndpoint = "${createLink(controller:'organizationAdministration', action:'searchFullAdministration', id:organization.id)}";
		</script>
		
	</head>
	<body>
		<section>
			<h2><g:message code="fedreg.view.members.organization.show.heading" args="[organization.displayName]"/></h2>

			<table>
				<tbody>		
					<tr>
						<th><g:message code="label.name"/></th>
						<td>${fieldValue(bean: organization, field: "name")}</td>
					</tr>
					<tr>
						<th><g:message code="label.displayname" /></th>
						<td>${fieldValue(bean: organization, field: "displayName")}</td>
					</tr>
					<tr>
						<th><g:message code="label.lang" /></th>
						<td>${fieldValue(bean: organization, field: "lang")}</td>
					</tr>
					<tr>
						<th><g:message code="label.url" /></th>
						<td><a href="${organization.url.uri}">${organization.url.uri}</a></td>
					</tr>
					<tr>
						<th><g:message code="label.status"/></th>
						<td>
							<g:if test="${organization.active}">
								<g:message code="label.active" />
							</g:if>
							<g:else>
								<g:message code="label.inactive" />
							</g:else>
						</td>
					</tr>
					<tr>
						<th><g:message code="label.approved"/></th>
						<td>
							<g:if test="${organization.approved}">
								<g:message code="label.yes" />
							</g:if>
							<g:else>
								<g:message code="label.no" /> <div class="error"><g:message code="label.warningmetadata" /></div>
							</g:else>
						</td>
					</tr>
					<tr>
						<th><g:message code="label.primarytype" /></th>
						<td>${fieldValue(bean: organization, field: "primary.displayName")}</td>
					</tr>
					<g:if test="${organization.types}">
					<tr>
						<th><g:message code="label.organizationsecondarytypes" /></th><commit_msg>Change organization display to use workflow in progress message<commit_after>
<%@ page import="fedreg.core.Organization" %>
<html>
	<head>
		
		<meta name="layout" content="members" />
		<title><g:message code="fedreg.view.members.organization.show.title" /></title>
		
		<script type="text/javascript">
			var organizationFullAdministratorGrantEndpoint = "${createLink(controller:'organizationAdministration', action:'grantFullAdministration', id:organization.id)}";
			var organizationFullAdministratorRevokeEndpoint = "${createLink(controller:'organizationAdministration', action:'revokeFullAdministration', id:organization.id)}";
			var organizationFullAdministratorListEndpoint = "${createLink(controller:'organizationAdministration', action:'listFullAdministration', id:organization.id)}";
			var organizationFullAdministratorSearchEndpoint = "${createLink(controller:'organizationAdministration', action:'searchFullAdministration', id:organization.id)}";
		</script>
		
	</head>
	<body>
		<section>
			<h2><g:message code="fedreg.view.members.organization.show.heading" args="[organization.displayName]"/></h2>

			<table>
				<tbody>		
					<tr>
						<th><g:message code="label.name"/></th>
						<td>${fieldValue(bean: organization, field: "name")}</td>
					</tr>
					<tr>
						<th><g:message code="label.displayname" /></th>
						<td>${fieldValue(bean: organization, field: "displayName")}</td>
					</tr>
					<tr>
						<th><g:message code="label.lang" /></th>
						<td>${fieldValue(bean: organization, field: "lang")}</td>
					</tr>
					<tr>
						<th><g:message code="label.url" /></th>
						<td><a href="${organization.url.uri}">${organization.url.uri}</a></td>
					</tr>
					<tr>
						<th><g:message code="label.status"/></th>
						<td>
							<g:if test="${organization.active}">
								<g:message code="label.active" />
							</g:if>
							<g:else>
								<g:message code="label.inactive" />
							</g:else>
						</td>
					</tr>
					<tr>
						<th><g:message code="label.approved"/></th>
						<td>
							<g:if test="${organization.approved}">
								<g:message code="label.yes" />
							</g:if>
							<g:else>
								<g:message code="label.no" /><div class="warning"><g:message code="label.undergoingapproval" /></div>
							</g:else>
						</td>
					</tr>
					<tr>
						<th><g:message code="label.primarytype" /></th>
						<td>${fieldValue(bean: organization, field: "primary.displayName")}</td>
					</tr>
					<g:if test="${organization.types}">
					<tr>
						<th><g:message code="label.organizationsecondarytypes" /></th>
{'fraction_non_alphanumeric': 0.19490196078431374, 'fraction_numerical': 0.000784313725490196, 'mean_word_length': 3.705719557195572, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, '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': '4225230', 'n_tokens_mistral': 2185, 'n_tokens_neox': 1588, 'n_words': 255}