<commit_before>﻿@model HeadRaceTimingSite.Models.Crew
@{
    ViewData["Title"] = Model.Name;
    ViewData["TitleColor"] = Model.Competition.BackgroundHtmlColor;
}

@section imports {
    <link rel="import" href="~/components/crew-results-list.html" />
    <link rel="import" href="~/lib/iron-media-query/iron-media-query.html" />
}

<iron-media-query query="max-width: 600px" query-matches="{{narrow}}"></iron-media-query>

<div class="bodyDetails">
    <paper-card heading="Crew Details">
        <div class="card-content">
            <div>@Model.Name</div>
            <div>Competition: @Html.ActionLink(Model.Competition.Name,"Details","Competition", new { id = Model.Competition.FriendlyName })</div>
            <div>Start Number: @Model.StartNumber</div>
            <div>CRI Max: @Model.CriMax</div>
            <div><h2>Pennants Entered:</h2>
                <ul>
                    @foreach (var award in Model.Awards)
                    {
                        <li>@award.Award.Title</li>
                    }
                </ul><commit_msg>Add info to crew details page<commit_after>﻿@model HeadRaceTimingSite.Models.Crew
@{
    ViewData["Title"] = Model.Name;
    ViewData["TitleColor"] = Model.Competition.BackgroundHtmlColor;
}

@section imports {
    <link rel="import" href="~/components/crew-results-list.html" />
    <link rel="import" href="~/lib/iron-media-query/iron-media-query.html" />
    <link rel="import" href="~/lib/paper-dialog/paper-dialog.html" />
}

@section titleBar{
    <div main-title>@ViewData["Title"]</div>
    <paper-icon-button onclick="dialog.open()" icon="info"></paper-icon-button>
}

<iron-media-query query="max-width: 600px" query-matches="{{narrow}}"></iron-media-query>

<paper-dialog id="dialog">
    <h2>Information</h2>
    <p>
        Crew lists may not show recent substitutions as these do not update automatically. The data will be updated at close of substitutions on race day.
    </p>
</paper-dialog>

<div class="bodyDetails">
    <paper-card heading="Crew Details">
        <div class="card-content">
            <div>@Model.Name</div>
            <div>Competition: @Html.ActionLink(Model.Competition.Name, "Details", "Competition", new { id = Model.Competition.FriendlyName })</div>
            <div>Start Number: @Model.StartNumber</div>
            <div>CRI Max: @Model.CriMax</div>
            <div>
                <h2>Pennants Entered:</h2>
                <ul>
                    @foreach (var award in Model.Awards)
                    {
                        <li>@award.Award.Title</li>
                    }
                </ul>
{'fraction_non_alphanumeric': 0.16009191880505552, 'fraction_numerical': 0.004595940252776714, 'mean_word_length': 2.482666666666667, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 58, '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': '6977493', 'n_tokens_mistral': 839, 'n_tokens_neox': 802, 'n_words': 144}