<commit_before>﻿@inherits Umbraco.Web.Mvc.UmbracoViewPage<ComparePlansViewModel>
@using HRI.Models
@using HRI.Controllers

@{
    IPublishedContent root = Umbraco.ContentAtRoot().First();
    bool showButton = Convert.ToBoolean(root.GetPropertyValue("preventEnrollment"));
    string displayStatus = showButton ? "" : "display: none";
}

<div class="span10 offset1">
    <div class="plan-summary-section">
        <div class="row-fluid">
            <div class="span6">
                <p class="purple"><strong>Plan Options <sup>†</sup></strong></p>
            </div>

            <div class="span6">
                <a href="#" class="dark-purple pull-right hri-accordion-toggle-all" data-accordion-toggle-all-text="Collapse all plans">Expand all plans</a>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span12">
                <p>
                    <strong>Note: </strong>All Health Republic Insurance of New York (HRINY) plans provide no coverage for out-of-network services. However, in the event of a true medical emergency, HRINY will cover expenses associated with true and real medical emergencies in accordance with and as defined by New York state and federal laws.
                </p>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span12">
                @foreach (var product in Model.Products)
                {
                    <div class="hri-accordion">
                        <div class="hri-accordion-header">
                            <div class="hri-accordion-icon">
                                <span class="hri-accordion-icon-expand">+</span>
                                <span class="hri-accordion-icon-collapse">–</span>
                            </div>
                            <div class="hri-accordion-title plan-header">
                                <p class="plan-title">
                                    <strong>@product.Name</strong>
                                </p>
                            </div>
                        </div>
                        <div class="hri-accordion-content" style="display: none;">
                            <div>
                                <p class="avenir-heavy">
                                    @product.Description
                                </p>
                                <br>
                            </div>
                            <div class="plan-content">
                                <table class="plan-summary table cols cols-4">
                                    <thead>
                                        <tr>
                                            <th class="first-col">Tier</th>
                                            @foreach (var plan in product.Plans)
                                            {
                                                <th>
                                                    @plan.MetalTier<br>
                                                    @*This will allow the user to hide enrollment buttons based on the checkbox in the Home Page under Extra Settings*@
                                                    
                                                        @using (Html.BeginUmbracoForm<ComparePlansSurfaceController>("SelectPlan", new {}, new { @class = "selectplan", @style = "@displayStatus"}))
                                                        {
                                                            @Html.AntiForgeryToken()
                                                            @Html.Hidden("ZipCode", Model.ZipCode)
                                                            @Html.Hidden("PlanId", plan.HiosId)
                                                            @Html.Hidden("PlanPrice", plan.Price)
                                                            <input class="btn btn-small hri-btn" type="submit" value="Select Plan">
                                                        }
                                                    
                                            </th>
                                            }
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <th>Premium (All family members)</th>
                                            @foreach (var plan in product.Plans)
                                            {
                                            <td>$@plan.Price</td> }
                                        </tr>
                                        <tr>
                                            <th>Deductible</th>
                                            @foreach (var plan in product.Plans)
                                            {<commit_msg>hotfix: hide "select plan" on plans list to prevent enrollment<commit_after>﻿@inherits Umbraco.Web.Mvc.UmbracoViewPage<ComparePlansViewModel>
@using HRI.Models
@using HRI.Controllers

@{
    IPublishedContent root = Umbraco.ContentAtRoot().First();
    bool showButton = Convert.ToBoolean(root.GetPropertyValue("preventEnrollment"));
    string displayStatus = showButton ? "" : "display: none";
}

<div class="span10 offset1">
    <div class="plan-summary-section">
        <div class="row-fluid">
            <div class="span6">
                <p class="purple"><strong>Plan Options <sup>†</sup></strong></p>
            </div>

            <div class="span6">
                <a href="#" class="dark-purple pull-right hri-accordion-toggle-all" data-accordion-toggle-all-text="Collapse all plans">Expand all plans</a>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span12">
                <p>
                    <strong>Note: </strong>All Health Republic Insurance of New York (HRINY) plans provide no coverage for out-of-network services. However, in the event of a true medical emergency, HRINY will cover expenses associated with true and real medical emergencies in accordance with and as defined by New York state and federal laws.
                </p>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span12">
                @foreach (var product in Model.Products)
                {
                    <div class="hri-accordion">
                        <div class="hri-accordion-header">
                            <div class="hri-accordion-icon">
                                <span class="hri-accordion-icon-expand">+</span>
                                <span class="hri-accordion-icon-collapse">–</span>
                            </div>
                            <div class="hri-accordion-title plan-header">
                                <p class="plan-title">
                                    <strong>@product.Name</strong>
                                </p>
                            </div>
                        </div>
                        <div class="hri-accordion-content" style="display: none;">
                            <div>
                                <p class="avenir-heavy">
                                    @product.Description
                                </p>
                                <br>
                            </div>
                            <div class="plan-content">
                                <table class="plan-summary table cols cols-4">
                                    <thead>
                                        <tr>
                                            <th class="first-col">Tier</th>
                                            @foreach (var plan in product.Plans)
                                            {
                                                <th>
                                                    @plan.MetalTier<br>
                                                    @*This will allow the user to hide enrollment buttons based on the checkbox in the Home Page under Extra Settings*@
                                                    @if(!Convert.ToBoolean(Umbraco.ContentAtRoot().First().GetPropertyValue("preventEnrollment")))
                                                    {
                                                        using (Html.BeginUmbracoForm<ComparePlansSurfaceController>("SelectPlan", new {}, new { @class = "selectplan", @style = "@displayStatus"}))
                                                        {
                                                            @Html.AntiForgeryToken()
                                                            @Html.Hidden("ZipCode", Model.ZipCode)
                                                            @Html.Hidden("PlanId", plan.HiosId)
                                                            @Html.Hidden("PlanPrice", plan.Price)
                                                            <input class="btn btn-small hri-btn" type="submit" value="Select Plan">
                                                        }
                                                    }
                                            </th>
                                            }
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <th>Premium (All family members)</th>
                                            @foreach (var plan in product.Plans)
                                            {
                                            <td>$@plan.Price</td> }
                                        </tr>
                                        <tr>
                                            <th>Deductible</th>
                                            @foreach (var plan in product.Plans)
                                            {
{'fraction_non_alphanumeric': 0.09048330842052815, 'fraction_numerical': 0.001993024414549078, 'mean_word_length': 0.7860829329062111, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 126, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '109499', 'n_tokens_mistral': 2011, 'n_tokens_neox': 1897, 'n_words': 460}