<commit_before>﻿@model BatteryCommander.Common.Models.Soldier

@{
    ViewBag.Title = "View Soldier";
}

<h2>@ViewBag.Title</h2>

<div class="btn-group" role="group">
    @Html.ActionLink("Back to List", "List", null, new { @class = "btn btn-primary" })
    @Html.ActionLink("Edit", "Edit", new { soldierId = Model.Id }, new { @class = "btn btn-default" })
</div>

<table class="table table-bordered">
    <tr>
        <td>@Html.DisplayNameFor(model => model.Rank)</td>
        <td>@Html.DisplayFor(model => model.Rank)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.LastName)</td>
        <td>@Html.DisplayFor(model => model.LastName)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.FirstName)</td>
        <td>@Html.DisplayFor(model => model.FirstName)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Group)</td>
        <td>@Html.DisplayFor(model => model.Group)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Position)</td>
        <td>@Html.DisplayFor(model => model.Position)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Status)</td>
        <td>@Html.DisplayFor(model => model.Status)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.SecurityClearance)</td>
        <td>@Html.DisplayFor(model => model.SecurityClearance)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.MOS)</td>
        <td>@Html.DisplayFor(model => model.MOS)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.IsDutyMOSQualified)</td>
        <td>@Html.DisplayFor(model => model.IsDutyMOSQualified)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.EducationLevelCompleted)</td>
        <td>@Html.DisplayFor(model => model.EducationLevelCompleted)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.ETSDate)</td>
        <td>@Html.DisplayFor(model => model.ETSDate)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Notes)</td>
        <td>@Html.DisplayFor(model => model.Notes)</td>
    </tr>
</table>

<hr />

<h2>
    @Html.DisplayNameFor(model => model.Qualifications)
    @Html.ActionLink("Add Qualification", "New", "SoldierQualification", new { soldierId = Model.Id }, new { @class = "btn btn-info" })
    @Html.ActionLink("Bulk Update Qualifications", "Update", "SoldierQualification", new { soldierId = Model.Id }, new { @class = "btn btn-default" })
</h2>

<table class="table table-bordered">
    <thead>
        <tr>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().Qualification)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().Status)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().QualificationDate)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().ExpirationDate)</th>
            <th></th>
        </tr>
    </thead>

    <tbody>
        @foreach (var qual in Model.Qualifications)<commit_msg>Order soldier quals by id<commit_after>﻿@model BatteryCommander.Common.Models.Soldier

@{
    ViewBag.Title = "View Soldier";
}

<h2>@ViewBag.Title</h2>

<div class="btn-group" role="group">
    @Html.ActionLink("Back to List", "List", null, new { @class = "btn btn-primary" })
    @Html.ActionLink("Edit", "Edit", new { soldierId = Model.Id }, new { @class = "btn btn-default" })
</div>

<table class="table table-bordered">
    <tr>
        <td>@Html.DisplayNameFor(model => model.Rank)</td>
        <td>@Html.DisplayFor(model => model.Rank)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.LastName)</td>
        <td>@Html.DisplayFor(model => model.LastName)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.FirstName)</td>
        <td>@Html.DisplayFor(model => model.FirstName)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Group)</td>
        <td>@Html.DisplayFor(model => model.Group)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Position)</td>
        <td>@Html.DisplayFor(model => model.Position)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Status)</td>
        <td>@Html.DisplayFor(model => model.Status)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.SecurityClearance)</td>
        <td>@Html.DisplayFor(model => model.SecurityClearance)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.MOS)</td>
        <td>@Html.DisplayFor(model => model.MOS)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.IsDutyMOSQualified)</td>
        <td>@Html.DisplayFor(model => model.IsDutyMOSQualified)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.EducationLevelCompleted)</td>
        <td>@Html.DisplayFor(model => model.EducationLevelCompleted)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.ETSDate)</td>
        <td>@Html.DisplayFor(model => model.ETSDate)</td>
    </tr>

    <tr>
        <td>@Html.DisplayNameFor(model => model.Notes)</td>
        <td>@Html.DisplayFor(model => model.Notes)</td>
    </tr>
</table>

<hr />

<h2>
    @Html.DisplayNameFor(model => model.Qualifications)
    @Html.ActionLink("Add Qualification", "New", "SoldierQualification", new { soldierId = Model.Id }, new { @class = "btn btn-info" })
    @Html.ActionLink("Bulk Update Qualifications", "Update", "SoldierQualification", new { soldierId = Model.Id }, new { @class = "btn btn-default" })
</h2>

<table class="table table-bordered">
    <thead>
        <tr>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().Qualification)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().Status)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().QualificationDate)</th>
            <th>@Html.DisplayNameFor(model => model.Qualifications.FirstOrDefault().ExpirationDate)</th>
            <th></th>
        </tr>
    </thead>

    <tbody>
        @foreach (var qual in Model.Qualifications.OrderBy(q => q.QualificationId))
{'fraction_non_alphanumeric': 0.18851674641148325, 'fraction_numerical': 0.0012759170653907496, 'mean_word_length': 3.0588996763754044, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 256, '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': '1076216', 'n_tokens_mistral': 2119, 'n_tokens_neox': 2133, 'n_words': 312}