<commit_before>﻿@model IEnumerable<Purchasing.Core.Domain.Organization>

@{
	ViewBag.Title = "Administer Orgs";
}

@section SubNav
{
}


<table class='dt-table'>
	<thead>
		<tr>
			<th></th>
			<th>
				Name
			</th>
			<th>
				TypeCode
			</th>
			<th>
				TypeName
			</th>
			<th>
				IsActive
			</th>

		</tr>
	</thead>
	<tbody>
@{ var odd = false; }
@foreach (var item in Model) {
		<tr class="@(odd ? "odd": "even")">
			<td>
				<a href='@Url.Action("Details", new {id=item.Id})' class="ui-icon ui-icon-document" title="Order details">
					<img src='@Url.Image("details.png")' />
				</a>
			</td>
			<td>
				@item.Name
			</td>
			<td>
				@item.TypeCode
			</td>
			<td>
				@item.TypeName
			</td>
			<td>
				@(item.IsActive ? "Yes" : "No")
			</td>	
		</tr>
		odd = !odd;
}
	</tbody>
</table>
<commit_msg>Organization Index page, a link for organization name<commit_after>﻿@model IEnumerable<Purchasing.Core.Domain.Organization>

@{
	ViewBag.Title = "Administer Orgs";
}

@section SubNav
{
}


<table class='dt-table'>
	<thead>
		<tr>
			<th></th>
			<th>
				Name
			</th>
			<th>
				TypeCode
			</th>
			<th>
				TypeName
			</th>
			<th>
				IsActive
			</th>

		</tr>
	</thead>
	<tbody>
@{ var odd = false; }
@foreach (var item in Model) {
		<tr class="@(odd ? "odd": "even")">
			<td>
				<a href='@Url.Action("Details", new {id=item.Id})' class="ui-icon ui-icon-document" title="Order details">
					<img src='@Url.Image("details.png")' />
				</a>
			</td>
            <td>
                @Html.ActionLink(item.Name, "Details", "Organization", new {id=item.Id}, new {})
            </td>
			<td>
				@item.TypeCode
			</td>
			<td>
				@item.TypeName
			</td>
			<td>
				@(item.IsActive ? "Yes" : "No")
			</td>	
		</tr>
		odd = !odd;
}
	</tbody>
</table>

{'fraction_non_alphanumeric': 0.2142456533931576, 'fraction_numerical': 0.0, 'mean_word_length': 2.35969868173258, 'pattern_counts': {'":': 2, '<': 71, '<?xml version=': 0, '>': 71, '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': '1780791', 'n_tokens_mistral': 901, 'n_tokens_neox': 743, 'n_words': 154}