public override void Execute() { WriteLiteral("<section"); WriteLiteral(" class=\"section-border\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"heading-large\""); WriteLiteral(">\r\n Training courses\r\n"); #line 6 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" #line default #line hidden #line 6 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" if (ViewBag.VacancyId != null) { #line default #line hidden WriteLiteral(" <a"); WriteLiteral(" class=\"icon-with-text\""); WriteAttribute("href", Tuple.Create(" href=\"", 228), Tuple.Create("\"", 340) #line 8 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" , Tuple.Create(Tuple.Create("", 235), Tuple.Create <System.Object, System.Int32>(Url.RouteUrl(CandidateRouteNames.ApprenticeshipApply, new { id = ViewBag.VacancyId }) #line default #line hidden , 235), false) , Tuple.Create(Tuple.Create("", 319), Tuple.Create("#applyTrainingCourses", 319), true) ); WriteLiteral(">\r\n <i"); WriteLiteral(" class=\"the-icon fa fa-pencil\""); WriteLiteral("></i><span"); WriteLiteral(" class=\"the-text\""); WriteLiteral(">Edit section</span>\r\n </a>\r\n"); #line 11 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" } #line default #line hidden WriteLiteral(" </h2>\r\n\r\n"); #line 14 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" #line default #line hidden #line 14 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" if (!Model.Any()) { #line default #line hidden WriteLiteral(" <p"); WriteLiteral(" id=\"no-training-history\""); WriteLiteral(">I have not been on any training courses</p>\r\n"); #line 17 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" } #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" #line default #line hidden #line 19 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" foreach (var each in Model) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"grid-3-4 nobreak-print\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"grid-wrapper training-history-item\""); WriteLiteral(">\r\n\r\n <div"); WriteLiteral(" class=\"grid grid-1-2\""); WriteLiteral(">\r\n <table"); WriteLiteral(" class=\"table-no-btm-border table-compound\""); WriteLiteral(@"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th> <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(@">Training course</span> </th> </tr> </thead> <tbody> <tr> <td> <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 40 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" Write(each.Provider); #line default #line hidden WriteLiteral("</span>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span training-hyphen\""); WriteLiteral(">-</span>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 42 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" Write(each.Title); #line default #line hidden WriteLiteral("</span>\r\n </td>\r\n </tr>" + "\r\n </tbody>\r\n </table>\r\n " + " </div>\r\n <div"); WriteLiteral(" class=\"grid grid-1-2\""); WriteLiteral(">\r\n <table"); WriteLiteral(" class=\"table-no-btm-border table-compound\""); WriteLiteral(">\r\n <colgroup>\r\n <col"); WriteLiteral(" class=\"t30\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t30\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t25\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t15\""); WriteLiteral(">\r\n <col>\r\n </colgroup>\r\n " + " <thead>\r\n <tr>\r\n " + " <th>\r\n <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">From</span>\r\n </th>\r\n " + " <th>\r\n <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(@">To</span> </th> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td> <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 72 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" Write(QualificationPresenter.GetMonthYearLabel(each.FromMonth, each.FromYear)); #line default #line hidden WriteLiteral("</span>\r\n </td>\r\n <" + "td>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 75 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" Write(QualificationPresenter.GetMonthYearLabel(each.ToMonth, each.ToYear)); #line default #line hidden WriteLiteral(@"</span> </td> <td></td> <td></td> </tr> </tbody> </table> </div> </div> </div> "); #line 85 "..\..\Views\Shared\DisplayTemplates\Application\TrainingCourses.cshtml" } #line default #line hidden WriteLiteral("</section>"); }
public override void Execute() { WriteLiteral("<section"); WriteLiteral(" class=\"section-border\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"heading-large\""); WriteLiteral(">\r\n Work experience\r\n"); #line 6 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" #line default #line hidden #line 6 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" if (ViewBag.VacancyId != null) { #line default #line hidden WriteLiteral(" <a"); WriteLiteral(" class=\"icon-with-text\""); WriteAttribute("href", Tuple.Create(" href=\"", 227), Tuple.Create("\"", 338) #line 8 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" , Tuple.Create(Tuple.Create("", 234), Tuple.Create <System.Object, System.Int32>(Url.RouteUrl(CandidateRouteNames.ApprenticeshipApply, new { id = ViewBag.VacancyId }) #line default #line hidden , 234), false) , Tuple.Create(Tuple.Create("", 318), Tuple.Create("#applyWorkExperience", 318), true) ); WriteLiteral(">\r\n <i"); WriteLiteral(" class=\"the-icon fa fa-pencil\""); WriteLiteral("></i><span"); WriteLiteral(" class=\"the-text\""); WriteLiteral(">Edit section</span>\r\n </a>\r\n"); #line 11 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" } #line default #line hidden WriteLiteral(" </h2>\r\n\r\n"); #line 14 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" #line default #line hidden #line 14 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" if (!Model.Any()) { #line default #line hidden WriteLiteral(" <p"); WriteLiteral(" id=\"no-work-experience\""); WriteLiteral(">I don\'t have any work experience</p>\r\n"); #line 17 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" } #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" #line default #line hidden #line 19 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" foreach (WorkExperienceViewModel experience in Model) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"grid-3-4 nobreak-print\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"grid-wrapper work-history-item\""); WriteLiteral(">\r\n\r\n <div"); WriteLiteral(" class=\"grid grid-1-2\""); WriteLiteral(">\r\n <table"); WriteLiteral(" class=\"table-no-btm-border table-compound\""); WriteLiteral(@"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th> <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(@">Work experience</span> </th> </tr> </thead> <tbody> <tr> <td> <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 40 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" Write(experience.Employer); #line default #line hidden WriteLiteral("</span>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span work-hyphen\""); WriteLiteral(">-</span>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 42 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" Write(experience.JobTitle); #line default #line hidden WriteLiteral("</span>\r\n <div></div>\r\n " + " <span"); WriteLiteral(" class=\"form-prepopped cell-span prewrap\""); WriteLiteral(">"); #line 44 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" Write(experience.Description); #line default #line hidden WriteLiteral("</span>\r\n </td>\r\n </tr>" + "\r\n </tbody>\r\n </table>\r\n " + " </div>\r\n <div"); WriteLiteral(" class=\"grid grid-1-2\""); WriteLiteral(">\r\n <table"); WriteLiteral(" class=\"table-no-btm-border table-compound\""); WriteLiteral(">\r\n <colgroup>\r\n <col"); WriteLiteral(" class=\"t30\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t30\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t25\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t15\""); WriteLiteral(">\r\n <col>\r\n </colgroup>\r\n " + " <thead>\r\n <tr>\r\n " + " <th>\r\n <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">From</span>\r\n </th>\r\n " + " <th>\r\n <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(@">To</span> </th> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td> <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 74 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" Write(QualificationPresenter.GetMonthYearLabel(experience.FromMonth, experience.FromYear)); #line default #line hidden WriteLiteral(" </span>\r\n </td>\r\n " + " <td>\r\n <span"); WriteLiteral(" class=\"form-prepopped cell-span\""); WriteLiteral(">"); #line 77 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" Write(QualificationPresenter.GetMonthYearLabel(experience.ToMonth, experience.ToYear)); #line default #line hidden WriteLiteral(@"</span> </td> <td></td> <td></td> </tr> </tbody> </table> </div> </div> </div> "); #line 87 "..\..\Views\Shared\DisplayTemplates\Application\WorkExperience.cshtml" } #line default #line hidden WriteLiteral("\r\n</section>"); }
public override void Execute() { WriteLiteral("<section"); WriteLiteral(" id=\"applyQualifications\""); WriteLiteral(" class=\"section-border\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"heading-large\""); WriteLiteral(">\r\n Qualifications\r\n"); #line 6 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 6 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" if (ViewBag.VacancyId != null) { #line default #line hidden WriteLiteral(" <a"); WriteLiteral(" class=\"icon-with-text\""); WriteAttribute("href", Tuple.Create(" href=\"", 251), Tuple.Create("\"", 362) #line 8 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 258), Tuple.Create <System.Object, System.Int32>(Url.RouteUrl(CandidateRouteNames.ApprenticeshipApply, new { id = ViewBag.VacancyId }) #line default #line hidden , 258), false) , Tuple.Create(Tuple.Create("", 342), Tuple.Create("#applyQualifications", 342), true) ); WriteLiteral(">\r\n <i"); WriteLiteral(" class=\"the-icon fa fa-pencil\""); WriteLiteral("></i><span"); WriteLiteral(" class=\"the-text\""); WriteLiteral(">Edit section</span>\r\n </a>\r\n"); #line 11 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral(" </h2>\r\n\r\n"); #line 14 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 14 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" if (!Model.Any()) { #line default #line hidden WriteLiteral(" <p"); WriteLiteral(" id=\"no-qualifications\""); WriteLiteral(">I don\'t have any qualifications</p>\r\n"); #line 17 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 19 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" foreach (var group in Model.GroupBy(item => item.QualificationType)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"nobreak-print\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"hgroup-small\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"heading-small\""); WriteLiteral(">"); #line 23 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" Write(Html.Encode(group.Key)); #line default #line hidden WriteLiteral("</h3>\r\n </div>\r\n <table"); WriteLiteral(" class=\"grid-3-4\""); WriteLiteral(">\r\n <colgroup>\r\n <col"); WriteLiteral(" class=\"t40\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t25\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t15\""); WriteLiteral(">\r\n <col>\r\n </colgroup>\r\n <thead" + ">\r\n <tr>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Subject</span>\r\n </th>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Grade</span>\r\n </th>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Year</span>\r\n </th>\r\n </tr>\r\n " + " </thead>\r\n <tbody>\r\n"); #line 46 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 46 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" foreach (QualificationsViewModel item in group) { #line default #line hidden WriteLiteral(" <tr>\r\n <td>\r\n " + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 1885), Tuple.Create("\"", 1906) #line 50 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 1893), Tuple.Create <System.Object, System.Int32>(item.Subject #line default #line hidden , 1893), false) ); WriteLiteral(" readonly>\r\n </td>\r\n <td>\r\n" + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 2090), Tuple.Create("\"", 2167) #line 53 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 2098), Tuple.Create <System.Object, System.Int32>(QualificationPresenter.GetDisplayGrade(item.Grade, item.IsPredicted) #line default #line hidden , 2098), false) ); WriteLiteral(" readonly>\r\n </td>\r\n <td>\r\n" + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 2351), Tuple.Create("\"", 2369) #line 56 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 2359), Tuple.Create <System.Object, System.Int32>(item.Year #line default #line hidden , 2359), false) ); WriteLiteral(" readonly>\r\n </td>\r\n </tr>\r\n"); #line 59 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n"); #line 63 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral("\r\n</section>"); }
public override void Execute() { WriteLiteral("<fieldset"); WriteLiteral(" class=\"fieldset-with-border\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"heading-large\""); WriteLiteral(">\r\n Qualifications\r\n </h2>\r\n\r\n"); #line 8 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 8 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" if (!Model.Any()) { #line default #line hidden WriteLiteral(" <p"); WriteLiteral(" id=\"no-qualifications\""); WriteLiteral(">Applicant doesn\'t have any qualifications</p>\r\n"); #line 11 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral("\r\n"); #line 13 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 13 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" foreach (var group in Model.GroupBy(item => item.QualificationType)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"nobreak-print\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"hgroup-small\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"heading-small\""); WriteLiteral(">"); #line 17 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" Write(Html.Encode(group.Key)); #line default #line hidden WriteLiteral("</h3>\r\n </div>\r\n <table"); WriteLiteral(" class=\"grid-3-4\""); WriteLiteral(">\r\n <colgroup>\r\n <col"); WriteLiteral(" class=\"t40\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t25\""); WriteLiteral(">\r\n <col"); WriteLiteral(" class=\"t15\""); WriteLiteral(">\r\n <col>\r\n </colgroup>\r\n <thead" + ">\r\n <tr>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Subject</span>\r\n </th>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Grade</span>\r\n </th>\r\n <th>\r\n " + " <span"); WriteLiteral(" class=\"heading-span\""); WriteLiteral(">Year</span>\r\n </th>\r\n </tr>\r\n " + " </thead>\r\n <tbody>\r\n"); #line 40 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" #line default #line hidden #line 40 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" foreach (var item in group) { #line default #line hidden WriteLiteral(" <tr>\r\n <td>\r\n " + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 1578), Tuple.Create("\"", 1599) #line 44 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 1586), Tuple.Create <System.Object, System.Int32>(item.Subject #line default #line hidden , 1586), false) ); WriteLiteral(" readonly>\r\n </td>\r\n <td>\r\n" + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 1783), Tuple.Create("\"", 1860) #line 47 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 1791), Tuple.Create <System.Object, System.Int32>(QualificationPresenter.GetDisplayGrade(item.Grade, item.IsPredicted) #line default #line hidden , 1791), false) ); WriteLiteral(" readonly>\r\n </td>\r\n <td>\r\n" + " <input"); WriteLiteral(" class=\"form-control qual-input-edit form-prepopped\""); WriteLiteral(" type=\"text\""); WriteAttribute("value", Tuple.Create(" value=\"", 2044), Tuple.Create("\"", 2062) #line 50 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" , Tuple.Create(Tuple.Create("", 2052), Tuple.Create <System.Object, System.Int32>(item.Year #line default #line hidden , 2052), false) ); WriteLiteral(" readonly>\r\n </td>\r\n </tr>\r\n"); #line 53 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n"); #line 57 "..\..\Views\Shared\DisplayTemplates\Application\Qualifications.cshtml" } #line default #line hidden WriteLiteral("\r\n</fieldset>"); }