public override void Execute()
        {
            
            #line 5 "..\..\Views\Apprenticeship\Framework.cshtml"
  
    ViewBag.Title = @Model.Title + " - Apprenticeship Framework";
    ViewBag.Description = "The Find Apprenticeship Training service is for employers in England who want to find training courses for their apprentices and search for training providers.";

            
            #line default
            #line hidden
WriteLiteral("\r\n\r\n<main");

WriteLiteral(" id=\"content\"");

WriteLiteral(" class=\"framework-detail\"");

WriteLiteral(">\r\n    <div");

WriteLiteral(" class=\"grid-row\"");

WriteLiteral(">\r\n        <div");

WriteLiteral(" class=\"column-two-thirds\"");

WriteLiteral(">\r\n");

            
            #line 13 "..\..\Views\Apprenticeship\Framework.cshtml"
            
            
            #line default
            #line hidden
            
            #line 13 "..\..\Views\Apprenticeship\Framework.cshtml"
             if (string.IsNullOrWhiteSpace(Model.Ukprn))
            {
                
            
            #line default
            #line hidden
            
            #line 15 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(Html.ActionLink("Back", "SearchResults", new { @keywords = Model.SearchTerm }, new { @class = "link-back" }));

            
            #line default
            #line hidden
            
            #line 15 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                                                                             
            }
            else
            {
                
            
            #line default
            #line hidden
            
            #line 19 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(Html.ActionLink("Back", Model.Ukprn,"Provider", new { @keywords = Model.SearchTerm }, new { @class = "link-back" }));

            
            #line default
            #line hidden
            
            #line 19 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                                                                                    
            }

            
            #line default
            #line hidden
WriteLiteral("\r\n            <h1");

WriteLiteral(" class=\"heading-xlarge\"");

WriteLiteral(">\r\n");

WriteLiteral("                ");

            
            #line 23 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(Model.Title);

            
            #line default
            #line hidden
WriteLiteral("\r\n            </h1>\r\n            <p>\r\n                This information is taken f" +
"rom an apprenticeship framework. It sets out what qualifications the apprentice " +
"can achieve.\r\n            </p>\r\n");

            
            #line 28 "..\..\Views\Apprenticeship\Framework.cshtml"
            
            
            #line default
            #line hidden
            
            #line 28 "..\..\Views\Apprenticeship\Framework.cshtml"
             if (Model.ExpiryDateString != null)
            {


            
            #line default
            #line hidden
WriteLiteral("                <div");

WriteLiteral(" class=\"notice\"");

WriteLiteral(">\r\n                    <i");

WriteLiteral(" class=\"icon icon-important\"");

WriteLiteral(">\r\n                        <span");

WriteLiteral(" class=\"visuallyhidden\"");

WriteLiteral(">Warning</span>\r\n                    </i>\r\n                    <strong");

WriteLiteral(" class=\"bold-small\"");

WriteLiteral(">\r\n                        This apprenticeship is available to new starters until" +
" ");

            
            #line 36 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                          Write(Model.ExpiryDateString);

            
            #line default
            #line hidden
WriteLiteral("\r\n                    </strong>\r\n                </div>\r\n");

            
            #line 39 "..\..\Views\Apprenticeship\Framework.cshtml"

            }

            
            #line default
            #line hidden
WriteLiteral("        </div>\r\n\r\n        <div");

WriteLiteral(" class=\"column-third\"");

WriteLiteral(">\r\n            <div");

WriteLiteral(" class=\"related-container\"");

WriteLiteral(">\r\n                <aside");

WriteLiteral(" class=\"hidden-for-mobile-tablet\"");

WriteLiteral(">\r\n\r\n");

WriteLiteral("                ");

            
            #line 47 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(getFindTrainingProviderButton(Model.FrameworkId, Model.SearchTerm));

            
            #line default
            #line hidden
WriteLiteral("\r\n                </aside>\r\n            </div>\r\n\r\n        </div>\r\n    </div>\r\n\r\n " +
"   <section>\r\n        <header>\r\n            <h2");

WriteLiteral(" class=\"heading-large\"");

WriteLiteral(">\r\n                Summary of this apprenticeship framework\r\n            </h2>\r\n " +
"       </header>\r\n\r\n        <dl");

WriteLiteral(" class=\"data-list\"");

WriteLiteral(">\r\n");

            
            #line 62 "..\..\Views\Apprenticeship\Framework.cshtml"
            
            
            #line default
            #line hidden
            
            #line 62 "..\..\Views\Apprenticeship\Framework.cshtml"
             if (!string.IsNullOrEmpty(Model.FrameworkOverview))
                {

            
            #line default
            #line hidden
WriteLiteral("                    <dt");

WriteLiteral(" class=\"overviewTitle\"");

WriteLiteral(">Overview of role</dt>\r\n");

WriteLiteral("                    <dd");

WriteLiteral(" class=\"overviewText\"");

WriteLiteral(">");

            
            #line 65 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        Write(Model.FrameworkOverview);

            
            #line default
            #line hidden
WriteLiteral(" </dd>\r\n");

            
            #line 66 "..\..\Views\Apprenticeship\Framework.cshtml"
                }

            
            #line default
            #line hidden
WriteLiteral("            ");

            
            #line 67 "..\..\Views\Apprenticeship\Framework.cshtml"
       Write(GetStandardProperty("Level", "level", $"{Model.Level} (equivalent to {EquivalenceLevelService.GetApprenticeshipLevel(Model.Level.ToString())})"));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("            ");

            
            #line 68 "..\..\Views\Apprenticeship\Framework.cshtml"
       Write(GetDurationProperty("Typical length", "length", Model.Duration.ToString()));

            
            #line default
            #line hidden
WriteLiteral("\r\n            \r\n            <dt>Current funding band</dt>\r\n            <dd");

WriteLiteral(" id=\"funding-cap\"");

WriteLiteral(">\r\n                Up to ");

            
            #line 72 "..\..\Views\Apprenticeship\Framework.cshtml"
                 Write(GetFundingCapFormatted(Model.MaxFunding));

            
            #line default
            #line hidden
WriteLiteral(" per apprentice.<br />\r\n");

WriteLiteral("                ");

            
            #line 73 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(GetNextFundingMessage(Model.NextEffectiveFrom, Model.NextFundingCap));

            
            #line default
            #line hidden
WriteLiteral("\r\n                <a");

WriteLiteral(" href=\"https://www.gov.uk/guidance/employing-an-apprentice-technical-guide-for-em" +
"ployers#funding-for-your-apprenticeship\"");

WriteLiteral(" target=\"_blank\"");

WriteLiteral(">More information about funding</a>\r\n            </dd>\r\n            <dt>Entry req" +
"uirements</dt>\r\n            <dd");

WriteLiteral(" class=\"entry-requirements\"");

WriteLiteral(">\r\n");

            
            #line 78 "..\..\Views\Apprenticeship\Framework.cshtml"
                
            
            #line default
            #line hidden
            
            #line 78 "..\..\Views\Apprenticeship\Framework.cshtml"
                 if (!string.IsNullOrEmpty(Model.EntryRequirements))
                    {

            
            #line default
            #line hidden
WriteLiteral("                        <div>");

            
            #line 80 "..\..\Views\Apprenticeship\Framework.cshtml"
                        Write(Model.EntryRequirements);

            
            #line default
            #line hidden
WriteLiteral("</div>\r\n");

            
            #line 81 "..\..\Views\Apprenticeship\Framework.cshtml"
                    }

            
            #line default
            #line hidden
WriteLiteral("                <div>Your chosen training provider can advise you about entry req" +
"uirements for apprentices.</div>\r\n            </dd>\r\n\r\n            <dt>Suitable " +
"roles for apprentices</dt>\r\n            <dd");

WriteLiteral(" class=\"job-roles\"");

WriteLiteral(">\r\n");

            
            #line 87 "..\..\Views\Apprenticeship\Framework.cshtml"
                
            
            #line default
            #line hidden
            
            #line 87 "..\..\Views\Apprenticeship\Framework.cshtml"
                 if (Model.JobRoles != null && Model.JobRoles.Any())
                    {

            
            #line default
            #line hidden
WriteLiteral("                        <ul>\r\n");

            
            #line 90 "..\..\Views\Apprenticeship\Framework.cshtml"
                            
            
            #line default
            #line hidden
            
            #line 90 "..\..\Views\Apprenticeship\Framework.cshtml"
                             foreach (var jobRole in Model.JobRoles.Take(5))
                                {

            
            #line default
            #line hidden
WriteLiteral("                                    <li>");

            
            #line 92 "..\..\Views\Apprenticeship\Framework.cshtml"
                                   Write(jobRole);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 93 "..\..\Views\Apprenticeship\Framework.cshtml"
                                }

            
            #line default
            #line hidden
WriteLiteral("                            ");

            
            #line 94 "..\..\Views\Apprenticeship\Framework.cshtml"
                             if (Model.JobRoles.Count() > 5)
                                {
                                    foreach (var jobRole in Model.JobRoles.Skip(5))
                                                {

            
            #line default
            #line hidden
WriteLiteral("                                                    <li");

WriteLiteral(" class=\"default-hidden\"");

WriteLiteral(">");

            
            #line 98 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                          Write(jobRole);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 99 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                }

            
            #line default
            #line hidden
WriteLiteral("                                <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" class=\"showmore hidden\"");

WriteLiteral(">Show more</a>\r\n");

            
            #line 101 "..\..\Views\Apprenticeship\Framework.cshtml"
                                }

            
            #line default
            #line hidden
WriteLiteral("                        </ul>\r\n");

            
            #line 103 "..\..\Views\Apprenticeship\Framework.cshtml"
                    }

            
            #line default
            #line hidden
WriteLiteral(@"
                <div>
                    Your chosen training provider can advise you about the kinds of skills apprentices will learn.
                </div>
            </dd>
            <dt>Qualifications</dt>
            <dd>
                <div");

WriteLiteral(" class=\"qualifications\"");

WriteLiteral(">\r\n");

            
            #line 112 "..\..\Views\Apprenticeship\Framework.cshtml"
                    
            
            #line default
            #line hidden
            
            #line 112 "..\..\Views\Apprenticeship\Framework.cshtml"
                     if (Model.CompetencyQualification != null && Model.CompetencyQualification.Any())
                        {

            
            #line default
            #line hidden
WriteLiteral("                            <div");

WriteLiteral(" class=\"competencyQualifications\"");

WriteLiteral(">\r\n                                <p>Apprentices will achieve a practical (or \'c" +
"ompetence\') qualification:</p>\r\n                                <ul>\r\n");

            
            #line 117 "..\..\Views\Apprenticeship\Framework.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 117 "..\..\Views\Apprenticeship\Framework.cshtml"
                                     foreach (var qualification in Model.CompetencyQualification.Take(3))
                                        {

            
            #line default
            #line hidden
WriteLiteral("                                            <li>");

            
            #line 119 "..\..\Views\Apprenticeship\Framework.cshtml"
                                           Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 120 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        }

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 122 "..\..\Views\Apprenticeship\Framework.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 122 "..\..\Views\Apprenticeship\Framework.cshtml"
                                     if (Model.CompetencyQualification.Count() > 3)
                                        {
                                            foreach (var qualification in Model.CompetencyQualification.Skip(3))
                                            {

            
            #line default
            #line hidden
WriteLiteral("                                                <li");

WriteLiteral(" class=\"default-hidden\"");

WriteLiteral(">");

            
            #line 126 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                      Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 127 "..\..\Views\Apprenticeship\Framework.cshtml"
                                            }

            
            #line default
            #line hidden
WriteLiteral("                                        <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" class=\"showmore hidden\"");

WriteLiteral(">Show more</a>\r\n");

            
            #line 129 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        }

            
            #line default
            #line hidden
WriteLiteral("                                </ul>\r\n                            </div>\r\n");

            
            #line 132 "..\..\Views\Apprenticeship\Framework.cshtml"
                        }       

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 134 "..\..\Views\Apprenticeship\Framework.cshtml"
                    
            
            #line default
            #line hidden
            
            #line 134 "..\..\Views\Apprenticeship\Framework.cshtml"
                     if (Model.KnowledgeQualification != null && Model.KnowledgeQualification.Any())
                        {

            
            #line default
            #line hidden
WriteLiteral("                            <div");

WriteLiteral(" class=\"knowledgeQualifications\"");

WriteLiteral(">\r\n                                <p>Apprentices will also achieve a theory-base" +
"d (or \'knowledge\') qualification:</p>\r\n                                <ul>\r\n");

            
            #line 139 "..\..\Views\Apprenticeship\Framework.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 139 "..\..\Views\Apprenticeship\Framework.cshtml"
                                     foreach (var qualification in Model.KnowledgeQualification.Take(3))
                                        {

            
            #line default
            #line hidden
WriteLiteral("                                            <li>");

            
            #line 141 "..\..\Views\Apprenticeship\Framework.cshtml"
                                           Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 142 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        }

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 144 "..\..\Views\Apprenticeship\Framework.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 144 "..\..\Views\Apprenticeship\Framework.cshtml"
                                     if (Model.KnowledgeQualification.Count() > 3)
                                        {
                                            foreach (var qualification in Model.KnowledgeQualification.Skip(3))
                                            {

            
            #line default
            #line hidden
WriteLiteral("                                                <li");

WriteLiteral(" class=\"default-hidden\"");

WriteLiteral(">");

            
            #line 148 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                      Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 149 "..\..\Views\Apprenticeship\Framework.cshtml"
                                            }

            
            #line default
            #line hidden
WriteLiteral("                                            <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" class=\"showmore hidden\"");

WriteLiteral(">Show more</a>\r\n");

            
            #line 151 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        }

            
            #line default
            #line hidden
WriteLiteral("                                </ul>\r\n                            </div>\r\n");

            
            #line 154 "..\..\Views\Apprenticeship\Framework.cshtml"
                        }

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 156 "..\..\Views\Apprenticeship\Framework.cshtml"
                    
            
            #line default
            #line hidden
            
            #line 156 "..\..\Views\Apprenticeship\Framework.cshtml"
                     if (Model.CombinedQualificiation != null && Model.CombinedQualificiation.Any())
                            {

            
            #line default
            #line hidden
WriteLiteral("                                <div");

WriteLiteral(" class=\"combinedQualification\"");

WriteLiteral(">\r\n                                    <p>Apprentices will achieve a practical an" +
"d theory-based (or \'combined\') qualification:</p>\r\n                             " +
"       <ul>\r\n");

            
            #line 161 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        
            
            #line default
            #line hidden
            
            #line 161 "..\..\Views\Apprenticeship\Framework.cshtml"
                                         foreach (var qualification in Model.CombinedQualificiation.Take(3))
                                            {

            
            #line default
            #line hidden
WriteLiteral("                                                <li>");

            
            #line 163 "..\..\Views\Apprenticeship\Framework.cshtml"
                                               Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 164 "..\..\Views\Apprenticeship\Framework.cshtml"
                                            }

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 166 "..\..\Views\Apprenticeship\Framework.cshtml"
                                        
            
            #line default
            #line hidden
            
            #line 166 "..\..\Views\Apprenticeship\Framework.cshtml"
                                         if (Model.CombinedQualificiation.Count() > 3)
                                            {
                                                foreach (var qualification in Model.CombinedQualificiation.Skip(3))
                                                {

            
            #line default
            #line hidden
WriteLiteral("                                                    <li");

WriteLiteral(" class=\"default-hidden\"");

WriteLiteral(">");

            
            #line 170 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                                          Write(qualification);

            
            #line default
            #line hidden
WriteLiteral("</li>\r\n");

            
            #line 171 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                }

            
            #line default
            #line hidden
WriteLiteral("                                        <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" class=\"showmore hidden\"");

WriteLiteral(">Show more</a>\r\n");

            
            #line 173 "..\..\Views\Apprenticeship\Framework.cshtml"
                                            }

            
            #line default
            #line hidden
WriteLiteral("                                    </ul>\r\n                                </div>" +
"\r\n");

            
            #line 176 "..\..\Views\Apprenticeship\Framework.cshtml"
                            }

            
            #line default
            #line hidden
WriteLiteral("                        </div>\r\n\r\n");

            
            #line 179 "..\..\Views\Apprenticeship\Framework.cshtml"
                
            
            #line default
            #line hidden
            
            #line 179 "..\..\Views\Apprenticeship\Framework.cshtml"
                 if (Model.CompletionQualifications != string.Empty)
                    {

            
            #line default
            #line hidden
WriteLiteral("                        <p");

WriteLiteral(" class=\"completionQualifications\"");

WriteLiteral(">");

            
            #line 181 "..\..\Views\Apprenticeship\Framework.cshtml"
                                                       Write(Model.CompletionQualifications);

            
            #line default
            #line hidden
WriteLiteral("</p>\r\n");

            
            #line 182 "..\..\Views\Apprenticeship\Framework.cshtml"
                    }

            
            #line default
            #line hidden
WriteLiteral("                <p");

WriteLiteral(" class=\"qualificationsStatic\"");

WriteLiteral(">Your chosen training provider can advise you about the qualifications open to ap" +
"prentices as they can change depending on individual and other circumstances.</p" +
">\r\n            </dd>\r\n\r\n            <dt>Professional registration</dt>\r\n        " +
"    <dd>");

            
            #line 187 "..\..\Views\Apprenticeship\Framework.cshtml"
           Write(Model.ProfessionalRegistration);

            
            #line default
            #line hidden
WriteLiteral("</dd>\r\n        </dl>\r\n\r\n        <div");

WriteLiteral(" id=\"bottom-actions\"");

WriteLiteral(">\r\n");

WriteLiteral("           ");

            
            #line 191 "..\..\Views\Apprenticeship\Framework.cshtml"
      Write(getFindTrainingProviderButton(Model.FrameworkId, Model.SearchTerm));

            
            #line default
            #line hidden
WriteLiteral("\r\n        </div>\r\n    </section>\r\n</main>\r\n\r\n");

WriteLiteral("\r\n");

WriteLiteral("\r\n");

WriteLiteral("\r\n");

WriteLiteral("\r\n");

WriteLiteral("\r\n\r\n");

        }
예제 #2
0
        public override void Execute()
        {
            #line 5 "..\..\Views\Apprenticeship\Standard.cshtml"

            ViewBag.Title       = Model.Title + " - Apprenticeship Standard";
            ViewBag.Description = Model.OverviewOfRole;
            var areOrganisationsPresent = Model.AssessmentOrganisations != null && Model.AssessmentOrganisations.Any();


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n<main");

            WriteLiteral(" id=\"content\"");

            WriteLiteral(" class=\"standard-detail\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"grid-row\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"column-two-thirds\"");

            WriteLiteral(">\r\n\r\n\r\n");


            #line 16 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 16 "..\..\Views\Apprenticeship\Standard.cshtml"
            if (string.IsNullOrWhiteSpace(Model.Ukprn))
            {
            #line default
            #line hidden

            #line 18 "..\..\Views\Apprenticeship\Standard.cshtml"
                Write(Html.ActionLink("Back", "SearchResults", new { @keywords = Model.SearchTerm }, new { @class = "link-back" }));


            #line default
            #line hidden

            #line 18 "..\..\Views\Apprenticeship\Standard.cshtml"
            }
            else
            {
            #line default
            #line hidden

            #line 22 "..\..\Views\Apprenticeship\Standard.cshtml"
                Write(Html.ActionLink("Back", Model.Ukprn, "Provider", new { @keywords = Model.SearchTerm }, new { @class = "link-back" }));


            #line default
            #line hidden

            #line 22 "..\..\Views\Apprenticeship\Standard.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <div>\r\n                <h1");

            WriteLiteral(" class=\"heading-xlarge\"");

            WriteLiteral(">\r\n");

            WriteLiteral("                    ");


            #line 26 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(Model.Title);


            #line default
            #line hidden
            WriteLiteral("\r\n                </h1>\r\n                <p");

            WriteLiteral(" class=\"lede\"");

            WriteLiteral(">");


            #line 28 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(Model.OverviewOfRole);


            #line default
            #line hidden
            WriteLiteral("</p>\r\n");


            #line 29 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 29 "..\..\Views\Apprenticeship\Standard.cshtml"
            if (Model.RegulatedStandard)
            {
            #line default
            #line hidden
                WriteLiteral("                <div");

                WriteLiteral(" class=\"panel panel-border-wide panel-filled-purple\"");

                WriteLiteral(">\r\n                    <h2");

                WriteLiteral(" class=\"heading-small\"");

                WriteLiteral(">Regulated standard</h2>\r\n                    <p>This standard needs a training p" +
                             "rovider who is recognised by the associated approval body. Please check with the" +
                             " training provider for further details.</p>\r\n                </div>\r\n");


            #line 36 "..\..\Views\Apprenticeship\Standard.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("                ");


            #line 38 "..\..\Views\Apprenticeship\Standard.cshtml"
            if (Model.LastDateForNewStarts.HasValue && Model.LastDateForNewStarts.Value <= DateTime.Today.AddYears(1))
            {
            #line default
            #line hidden
                WriteLiteral("                    <br />\r\n");

                WriteLiteral("                    <div");

                WriteLiteral(" class=\"notice\"");

                WriteLiteral(">\r\n                        <i");

                WriteLiteral(" class=\"icon icon-important\"");

                WriteLiteral(">\r\n                            <span");

                WriteLiteral(" class=\"visuallyhidden\"");

                WriteLiteral(">Warning</span>\r\n                        </i>\r\n                        <strong");

                WriteLiteral(" id=\"apprenticeship-closed-message\"");

                WriteLiteral(" class=\"bold-small\"");

                WriteLiteral(">\r\n                            This apprenticeship is available to new starters u" +
                             "ntil ");


            #line 46 "..\..\Views\Apprenticeship\Standard.cshtml"
                Write(Model.DayAfterLastDateForNewStartsFormatted);


            #line default
            #line hidden
                WriteLiteral("\r\n\r\n                        </strong>\r\n                    </div>\r\n");


            #line 50 "..\..\Views\Apprenticeship\Standard.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            </div>\r\n        </div>\r\n        <div");

            WriteLiteral(" class=\"column-third\"");

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"related-container\"");

            WriteLiteral(">\r\n                <aside");

            WriteLiteral(" class=\"hidden-for-mobile-tablet\"");

            WriteLiteral(">\r\n");

            WriteLiteral("                    ");


            #line 56 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(getFindTrainingProviderButton(Model.StandardId, Model.SearchTerm, Model.Ukprn));


            #line default
            #line hidden
            WriteLiteral("\r\n                </aside>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <" +
                         "section>\r\n        <header>\r\n            <h2");

            WriteLiteral(" class=\"heading-large\"");

            WriteLiteral(">\r\n                Summary of this apprenticeship standard\r\n            </h2>\r\n  " +
                         "      </header>\r\n        <dl");

            WriteLiteral(" class=\"data-list\"");

            WriteLiteral(">\r\n");

            WriteLiteral("            ");


            #line 68 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetStandardProperty("Level", "level", $"{@Model.Level} (equivalent to {EquivalenceLevelService.GetApprenticeshipLevel(Model.Level.ToString())})"));


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("            ");


            #line 69 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetDurationProperty("Typical length", "length", Model.Duration.ToString()));


            #line default
            #line hidden
            WriteLiteral("\r\n            <dt>Current funding band</dt>\r\n            <dd");

            WriteLiteral(" id=\"funding-cap\"");

            WriteLiteral(">\r\n                Up to ");


            #line 72 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetFundingCapFormatted(Model.MaxFunding));


            #line default
            #line hidden
            WriteLiteral(" per apprentice.<br />\r\n");

            WriteLiteral("                ");


            #line 73 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetNextFundingMessage(Model.NextEffectiveFrom, Model.NextFundingCap));


            #line default
            #line hidden
            WriteLiteral("\r\n                <a");

            WriteLiteral(" href=\"https://www.gov.uk/guidance/employing-an-apprentice-technical-guide-for-em" +
                         "ployers#funding-for-your-apprenticeship\"");

            WriteLiteral(" target=\"_blank\"");

            WriteLiteral(" rel=\"external\"");

            WriteLiteral(">More information about funding</a>\r\n            </dd>\r\n\r\n");

            WriteLiteral("            ");


            #line 77 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetStandardProperty("Entry requirements", "entry-requirements", Model.EntryRequirements));


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("            ");


            #line 78 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetStandardProperty("What apprentices will learn", "will-learn", Model.WhatApprenticesWillLearn));


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("            ");


            #line 79 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetStandardProperty("Qualifications", "qualifications", Model.Qualifications));


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("            ");


            #line 80 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetStandardProperty("Professional registration", "professional-registration", Model.ProfessionalRegistration, true));


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n");


            #line 82 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 82 "..\..\Views\Apprenticeship\Standard.cshtml"
            if (areOrganisationsPresent == false)
            {
                const string noDetails = @"A government-approved organisation must assess apprentices towards the end of their apprenticeship.<br/><br/> " +
                                         "This end-point assessment ensures apprentices achieve the skills, training and any qualifications necessary to complete their apprenticeship. <br/><br/>" +
                                         "You can download the assessment plan from the Institute for Apprenticeships and Technical Education. " +
                                         "There are no end-point assessment organisations for this apprenticeship yet. " +
                                         "Please email <a href='mailto:[email protected]' target='_blank'>[email protected]</a> if you urgently need an end-point assessment organisation.";


            #line default
            #line hidden

            #line 89 "..\..\Views\Apprenticeship\Standard.cshtml"
                Write(GetStandardProperty("How apprentices are assessed", "no-assessment-organisations", noDetails));


            #line default
            #line hidden

            #line 89 "..\..\Views\Apprenticeship\Standard.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 92 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 92 "..\..\Views\Apprenticeship\Standard.cshtml"
            if (areOrganisationsPresent)
            {
            #line default
            #line hidden
                WriteLiteral("                <dt>End-Point Assessment</dt>\r\n");

                WriteLiteral("                <dd>\r\n                    <details>\r\n                        <sum" +
                             "mary><span");

                WriteLiteral(" class=\"summary\"");

                WriteLiteral(" style=\"text-decoration: none\"");

                WriteLiteral(">View a list of end-point assessment organisations for this standard</span></summ" +
                             "ary>\r\n                        <table");

                WriteLiteral(" class=\"responsive\"");

                WriteLiteral(">\r\n                            <thead>\r\n                                <tr>\r\n   " +
                             "                                 <th");

                WriteLiteral(" scope=\"col\"");

                WriteLiteral(">Organisation</th>\r\n                                    <th");

                WriteLiteral(" scope=\"col\"");

                WriteLiteral(">Phone Number</th>\r\n                                    <th");

                WriteLiteral(" scope=\"col\"");

                WriteLiteral(">Email</th>\r\n                                </tr>\r\n                            <" +
                             "/thead>\r\n                            <tbody>\r\n");


            #line 107 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 107 "..\..\Views\Apprenticeship\Standard.cshtml"
                foreach (var organisation in Model.AssessmentOrganisations)
                {
            #line default
            #line hidden
                    WriteLiteral("                                    <tr>\r\n                                       " +
                                 " <td");

                    WriteLiteral(" class=\"organisation-name\"");

                    WriteLiteral(" data-label=\"organisation\"");

                    WriteLiteral(">\r\n");


            #line 111 "..\..\Views\Apprenticeship\Standard.cshtml"


            #line default
            #line hidden

            #line 111 "..\..\Views\Apprenticeship\Standard.cshtml"
                    if (string.IsNullOrEmpty(organisation.Website))
                    {
            #line default
            #line hidden

            #line 113 "..\..\Views\Apprenticeship\Standard.cshtml"
                        Write(organisation.Name);


            #line default
            #line hidden

            #line 113 "..\..\Views\Apprenticeship\Standard.cshtml"
                    }
                    else
                    {
                        var linkProtocol = organisation.Website.StartsWith("http") ? string.Empty : "http://";


            #line default
            #line hidden
                        WriteLiteral("                                                <a");

                        WriteAttribute("href", Tuple.Create(" href=\"", 6571), Tuple.Create("\"", 6612)

            #line 118 "..\..\Views\Apprenticeship\Standard.cshtml"
                                       , Tuple.Create(Tuple.Create("", 6578), Tuple.Create <System.Object, System.Int32>(linkProtocol

            #line default
            #line hidden
                                                                                                                         , 6578), false)

            #line 118 "..\..\Views\Apprenticeship\Standard.cshtml"
                                       , Tuple.Create(Tuple.Create("", 6591), Tuple.Create <System.Object, System.Int32>(organisation.Website

            #line default
            #line hidden
                                                                                                                         , 6591), false)
                                       );

                        WriteLiteral(" target=\"_blank\"");

                        WriteLiteral(">");


            #line 118 "..\..\Views\Apprenticeship\Standard.cshtml"
                        Write(organisation.Name);


            #line default
            #line hidden
                        WriteLiteral("</a>\r\n");


            #line 119 "..\..\Views\Apprenticeship\Standard.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                        </td>\r\n                                  " +
                                 "      <td");

                    WriteLiteral(" class=\"phone-number\"");

                    WriteLiteral(" data-label=\"phone-number\"");

                    WriteLiteral(">");


            #line 121 "..\..\Views\Apprenticeship\Standard.cshtml"
                    Write(organisation.Phone);


            #line default
            #line hidden
                    WriteLiteral("</td>\r\n                                        <td");

                    WriteLiteral(" class=\"email\"");

                    WriteLiteral(" data-label=\"email\"");

                    WriteLiteral("><a");

                    WriteAttribute("href", Tuple.Create(" href=\"", 6944), Tuple.Create("\"", 6977)
                                   , Tuple.Create(Tuple.Create("", 6951), Tuple.Create("mailto:", 6951), true)

            #line 122 "..\..\Views\Apprenticeship\Standard.cshtml"
                                   , Tuple.Create(Tuple.Create("", 6958), Tuple.Create <System.Object, System.Int32>(organisation.Email

            #line default
            #line hidden
                                                                                                                     , 6958), false)
                                   );

                    WriteLiteral(" target=\"_blank\"");

                    WriteLiteral(">");


            #line 122 "..\..\Views\Apprenticeship\Standard.cshtml"
                    Write(organisation.Email);


            #line default
            #line hidden
                    WriteLiteral("</a></td>\r\n                                    </tr>\r\n");


            #line 124 "..\..\Views\Apprenticeship\Standard.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n         " +
                             "           </details>\r\n                </dd>\r\n");


            #line 129 "..\..\Views\Apprenticeship\Standard.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("            ");


            #line 131 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(GetMoreInformationProperty(Model.StandardPageUri));


            #line default
            #line hidden
            WriteLiteral("\r\n        </dl>\r\n\r\n\r\n        <div");

            WriteLiteral(" id=\"bottom-actions\"");

            WriteLiteral(">\r\n");

            WriteLiteral("            ");


            #line 136 "..\..\Views\Apprenticeship\Standard.cshtml"
            Write(getFindTrainingProviderButton(Model.StandardId, Model.SearchTerm, Model.Ukprn));


            #line default
            #line hidden
            WriteLiteral("\r\n        </div>\r\n    </section>\r\n</main>\r\n\r\n");

            WriteLiteral("\r\n");

            WriteLiteral("\r\n");

            WriteLiteral("\r\n");

            WriteLiteral("\r\n");
        }
        public void ShouldReturnEquivalenceTextForLevel(string level, string expected)
        {
            var actual = EquivalenceLevelService.GetApprenticeshipLevel(level);

            actual.Should().Be(expected);
        }