public override void Execute() { WriteLiteral("\r\n"); #line 8 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Layout = new SP.Web.UserEmails.LayoutTemplate { Title = "Registration Request" }; #line default #line hidden WriteLiteral("\r\n<table"); WriteLiteral(" class=\"row\""); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; position: relat" + "ive; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tbody><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral(">\r\n <th"); WriteLiteral(" class=\"small-12 large-12 columns first last\""); WriteLiteral(@" style=""Margin: 0 auto; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin: 0 auto; padding: 0; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; text-align: left; width: 564px;"""); WriteLiteral("><table"); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; text-align: lef" + "t; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0; text" + "-align: left;\""); WriteLiteral(">\r\n <table"); WriteLiteral(" class=\"callout\""); WriteLiteral(" style=\"Margin-bottom: 16px; border-collapse: collapse; border-spacing: 0; margin" + "-bottom: 16px; padding: 0; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" class=\"callout-inner primary\""); WriteLiteral(" style=\"Margin: 0; background: #def0fc; border: 1px solid #444444; color: #0a0a0a" + "; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: norma" + "l; line-height: 1.3; margin: 0; padding: 10px; text-align: left; width: 100%;\""); WriteLiteral(">\r\n <p"); WriteLiteral(" class=\"lead\""); WriteLiteral(" style=\"Margin: 0; Margin-bottom: 10px; color: #0a0a0a; font-family: Helvetica, A" + "rial, sans-serif; font-size: 20px; font-weight: normal; line-height: 1.6; margin" + ": 0; margin-bottom: 10px; padding: 0; text-align: left;\""); WriteLiteral(">\r\n A request has been submitted to register a new institution, de" + "partment & user - details below.\r\n </p>\r\n </th><th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table>\r\n </th>\r\n<th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table></th>\r\n</tr></tbody></table>\r\n<table"); WriteLiteral(" class=\"row\""); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; position: relat" + "ive; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tbody><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral(">\r\n <th"); WriteLiteral(" class=\"small-12 large-12 columns first last\""); WriteLiteral(@" style=""Margin: 0 auto; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin: 0 auto; padding: 0; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; text-align: left; width: 564px;"""); WriteLiteral("><table"); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; text-align: lef" + "t; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0; text" + "-align: left;\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" style=\"Margin: 0; Margin-bottom: 10px; color: inherit; font-family: Helvetica, A" + "rial, sans-serif; font-size: 28px; font-weight: normal; line-height: 1.3; margin" + ": 0; margin-bottom: 10px; padding: 0; text-align: left; word-wrap: normal;\""); WriteLiteral(">\r\n Institution\r\n </h3>\r\n <dl>\r\n <dt>\r\n " + " Name\r\n </dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 34 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.Name); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Abbreviation\r\n " + "</dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 40 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.Abbreviation); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Locale Code\r\n <" + "/dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 46 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.LocaleCode); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Time Zone\r\n </d" + "t>\r\n <dd>\r\n"); WriteLiteral(" "); #line 52 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.TimeZone.DisplayName); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 54 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" #line default #line hidden #line 54 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrEmpty(PersonRequesting.Department.Institution.HomepageUrl)) { #line default #line hidden WriteLiteral(" <dt>\r\n URL\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4878), Tuple.Create("\"", 4937) #line 60 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 4885), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.HomepageUrl #line default #line hidden , 4885), false) ); WriteLiteral(" style=\"Margin: 0; color: #2199e8; font-family: Helvetica, Arial, sans-serif; fon" + "t-weight: normal; line-height: 1.3; margin: 0; padding: 0; text-align: left; tex" + "t-decoration: none;\""); WriteLiteral(">"); #line 60 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.HomepageUrl); #line default #line hidden WriteLiteral("</a>\r\n <small"); WriteLiteral(" style=\"color: #cacaca; font-size: 80%;\""); WriteLiteral(">please examine URL carefully before clicking on the link</small>\r\n " + " </dd>\r\n"); #line 63 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 64 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" if (PersonRequesting.Department.Institution.Latitude.HasValue && PersonRequesting.Department.Institution.Longitude.HasValue) { #line default #line hidden WriteLiteral(" <dt>\r\n Location\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5622), Tuple.Create("\"", 5785) , Tuple.Create(Tuple.Create("", 5629), Tuple.Create("https://www.google.com/maps/place/", 5629), true) #line 70 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 5663), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Latitude.ToString() #line default #line hidden , 5663), false) , Tuple.Create(Tuple.Create("", 5723), Tuple.Create(",", 5723), true) #line 70 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 5724), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Longitude.ToString() #line default #line hidden , 5724), false) ); WriteLiteral(" style=\"Margin: 0; color: #2199e8; font-family: Helvetica, Arial, sans-serif; fon" + "t-weight: normal; line-height: 1.3; margin: 0; padding: 0; text-align: left; tex" + "t-decoration: none;\""); WriteLiteral(">Google Maps</a>\r\n </dd>\r\n"); #line 72 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 73 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrWhiteSpace(PersonRequesting.Department.Institution.LogoImageFileName)) { #line default #line hidden WriteLiteral(" <dt>\r\n Logo\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 6260), Tuple.Create("\"", 6385) #line 79 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 6266), Tuple.Create <System.Object, System.Int32>(BaseInsecureUrl + '/' + IAssociateFileTools.ServerPathToUrl(PersonRequesting.Department.Institution.GetServerPath()) #line default #line hidden , 6266), false) ); WriteLiteral(" width=\"200\""); WriteAttribute("alt", Tuple.Create(" alt=\"", 6398), Tuple.Create("\"", 6458) , Tuple.Create(Tuple.Create("", 6404), Tuple.Create("logo", 6404), true) , Tuple.Create(Tuple.Create(" ", 6408), Tuple.Create("for", 6409), true) #line 79 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create(" ", 6412), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Name #line default #line hidden , 6413), false) ); WriteLiteral(" style=\"-ms-interpolation-mode: bicubic; clear: both; display: block; max-width: " + "100%; outline: none; text-decoration: none; width: auto;\""); WriteLiteral(">\r\n </dd>\r\n"); #line 81 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 82 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrWhiteSpace(PersonRequesting.Department.Institution.About)) { #line default #line hidden WriteLiteral(" <dt>\r\n About\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n"); WriteLiteral(" "); #line 88 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.About); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 90 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" </dl>\r\n </th>\r\n<th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table></th>\r\n</tr></tbody></table>\r\n<table"); WriteLiteral(" class=\"row\""); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; position: relat" + "ive; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tbody><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral(">\r\n <th"); WriteLiteral(" class=\"small-12 large-12 columns first last\""); WriteLiteral(@" style=""Margin: 0 auto; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin: 0 auto; padding: 0; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; text-align: left; width: 564px;"""); WriteLiteral("><table"); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; text-align: lef" + "t; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0; text" + "-align: left;\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" style=\"Margin: 0; Margin-bottom: 10px; color: inherit; font-family: Helvetica, A" + "rial, sans-serif; font-size: 28px; font-weight: normal; line-height: 1.3; margin" + ": 0; margin-bottom: 10px; padding: 0; text-align: left; word-wrap: normal;\""); WriteLiteral(">\r\n Department\r\n </h3>\r\n <dl>\r\n <dt>\r\n " + " Name\r\n </dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 105 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Name); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Abbreviation\r\n " + "</dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 111 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Abbreviation); #line default #line hidden WriteLiteral("\r\n </dd>\r\n </dl>\r\n </th>\r\n<th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table></th>\r\n</tr></tbody></table>\r\n<table"); WriteLiteral(" class=\"row\""); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; position: relat" + "ive; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tbody><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral(">\r\n <th"); WriteLiteral(" class=\"small-12 large-12 columns first last\""); WriteLiteral(@" style=""Margin: 0 auto; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin: 0 auto; padding: 0; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; text-align: left; width: 564px;"""); WriteLiteral("><table"); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; text-align: lef" + "t; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0; text" + "-align: left;\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" style=\"Margin: 0; Margin-bottom: 10px; color: inherit; font-family: Helvetica, A" + "rial, sans-serif; font-size: 28px; font-weight: normal; line-height: 1.3; margin" + ": 0; margin-bottom: 10px; padding: 0; text-align: left; word-wrap: normal;\""); WriteLiteral(">\r\n Proposed administrator\r\n </h3>\r\n <dl>\r\n <" + "dt>\r\n Name\r\n </dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 127 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.FullName); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Email\r\n </dt>\r\n" + " <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 10558), Tuple.Create("\"", 10593) #line 133 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 10565), Tuple.Create <System.Object, System.Int32>(GetMailTo(PersonRequesting) #line default #line hidden , 10565), false) ); WriteLiteral(" style=\"Margin: 0; color: #2199e8; font-family: Helvetica, Arial, sans-serif; fon" + "t-weight: normal; line-height: 1.3; margin: 0; padding: 0; text-align: left; tex" + "t-decoration: none;\""); WriteLiteral(">"); #line 133 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Email); #line default #line hidden WriteLiteral(" "); #line 133 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.AlternateEmail); #line default #line hidden WriteLiteral("</a>\r\n </dd>\r\n"); #line 135 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" #line default #line hidden #line 135 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrEmpty(PersonRequesting.PhoneNumber)) { #line default #line hidden WriteLiteral(" <dt>\r\n Phone Number\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n"); WriteLiteral(" "); #line 141 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.PhoneNumber); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 143 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" <dt>\r\n Professional Role\r\n </dt>\r\n " + " <dd>\r\n <strong>"); #line 148 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.ProfessionalRole.Category.ToString()); #line default #line hidden WriteLiteral("</strong> - "); #line 148 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.ProfessionalRole.Description); #line default #line hidden WriteLiteral("\r\n </dd>\r\n </dl>\r\n \r\n </th>\r\n<th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table></th>\r\n</tr></tbody></table>\r\n<table"); WriteLiteral(" class=\"row\""); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; position: relat" + "ive; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tbody><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral(">\r\n <th"); WriteLiteral(" class=\"small-12 large-12 columns first last\""); WriteLiteral(@" style=""Margin: 0 auto; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin: 0 auto; padding: 0; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; text-align: left; width: 564px;"""); WriteLiteral("><table"); WriteLiteral(" style=\"border-collapse: collapse; border-spacing: 0; padding: 0; text-align: lef" + "t; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0; text" + "-align: left;\""); WriteLiteral(">\r\n <hr>\r\n <table"); WriteLiteral(" class=\"callout\""); WriteLiteral(" style=\"Margin-bottom: 16px; border-collapse: collapse; border-spacing: 0; margin" + "-bottom: 16px; padding: 0; text-align: left; vertical-align: top; width: 100%;\""); WriteLiteral("><tr"); WriteLiteral(" style=\"padding: 0; text-align: left; vertical-align: top;\""); WriteLiteral("><th"); WriteLiteral(" class=\"callout-inner secondary\""); WriteLiteral(" style=\"Margin: 0; background: #ebebeb; border: 1px solid #444444; color: #0a0a0a" + "; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: norma" + "l; line-height: 1.3; margin: 0; padding: 10px; text-align: left; width: 100%;\""); WriteLiteral(">\r\n <p"); WriteLiteral(" style=\"Margin: 0; Margin-bottom: 10px; color: #0a0a0a; font-family: Helvetica, A" + "rial, sans-serif; font-size: 16px; font-weight: normal; line-height: 1.3; margin" + ": 0; margin-bottom: 10px; padding: 0; text-align: left;\""); WriteLiteral(">\r\n In order to approve or delete this request, please go to the <" + "a"); WriteAttribute("href", Tuple.Create(" href=\"", 13472), Tuple.Create("\"", 13568) #line 160 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 13479), Tuple.Create <System.Object, System.Int32>(BaseUrl #line default #line hidden , 13479), false) , Tuple.Create(Tuple.Create("", 13487), Tuple.Create("/reviewRegistrationRequest/", 13487), true) #line 160 "..\..\UserEmails\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 13514), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Id.ToString() #line default #line hidden , 13514), false) ); WriteLiteral(" style=\"Margin: 0; color: #2199e8; font-family: Helvetica, Arial, sans-serif; fon" + "t-weight: normal; line-height: 1.3; margin: 0; padding: 0; text-align: left; tex" + "t-decoration: none;\""); WriteLiteral(">Review Registration Requests</a> page (will require login details).\r\n " + " </p>\r\n </th><th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table>\r\n </th>\r\n<th"); WriteLiteral(" class=\"expander\""); WriteLiteral(" style=\"Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; fon" + "t-size: 16px; font-weight: normal; line-height: 1.3; margin: 0; padding: 0 !impo" + "rtant; text-align: left; visibility: hidden; width: 0;\""); WriteLiteral("></th></tr></table></th>\r\n</tr></tbody></table>"); }
public override void Execute() { WriteLiteral("\r\n"); #line 8 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Layout = new SP.Web.UserEmails.LayoutTemplate { Title = "Registration Request" }; #line default #line hidden WriteLiteral("\r\n<row>\r\n <columns"); WriteLiteral(" large=\"12\""); WriteLiteral(">\r\n <callout"); WriteLiteral(" class=\"primary\""); WriteLiteral(">\r\n <p"); WriteLiteral(" class=\"lead\""); WriteLiteral(@"> A request has been submitted to register a new institution, department & user - details below. </p> </callout> </columns> </row> <row> <columns> <h3> Institution </h3> <dl> <dt> Name </dt> <dd> "); WriteLiteral(" "); #line 33 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.Name); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Abbreviation\r\n " + "</dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 39 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.Abbreviation); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Locale Code\r\n <" + "/dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 45 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.LocaleCode); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Time Zone\r\n </d" + "t>\r\n <dd>\r\n"); WriteLiteral(" "); #line 51 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.TimeZone.DisplayName); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 53 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" #line default #line hidden #line 53 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrEmpty(PersonRequesting.Department.Institution.HomepageUrl)) { #line default #line hidden WriteLiteral(" <dt>\r\n URL\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1638), Tuple.Create("\"", 1697) #line 59 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 1645), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.HomepageUrl #line default #line hidden , 1645), false) ); WriteLiteral(">"); #line 59 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.HomepageUrl); #line default #line hidden WriteLiteral("</a>\r\n <small>please examine URL carefully before clicking on " + "the link</small>\r\n </dd>\r\n"); #line 62 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 63 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" if (PersonRequesting.Department.Institution.Latitude.HasValue && PersonRequesting.Department.Institution.Longitude.HasValue) { #line default #line hidden WriteLiteral(" <dt>\r\n Location\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2161), Tuple.Create("\"", 2324) , Tuple.Create(Tuple.Create("", 2168), Tuple.Create("https://www.google.com/maps/place/", 2168), true) #line 69 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 2202), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Latitude.ToString() #line default #line hidden , 2202), false) , Tuple.Create(Tuple.Create("", 2262), Tuple.Create(",", 2262), true) #line 69 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 2263), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Longitude.ToString() #line default #line hidden , 2263), false) ); WriteLiteral(">Google Maps</a>\r\n </dd>\r\n"); #line 71 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 72 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrWhiteSpace(PersonRequesting.Department.Institution.LogoImageFileName)) { #line default #line hidden WriteLiteral(" <dt>\r\n Logo\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 2618), Tuple.Create("\"", 2743) #line 78 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 2624), Tuple.Create <System.Object, System.Int32>(BaseInsecureUrl + '/' + IAssociateFileTools.ServerPathToUrl(PersonRequesting.Department.Institution.GetServerPath()) #line default #line hidden , 2624), false) ); WriteLiteral(" width=\"200\""); WriteAttribute("alt", Tuple.Create(" alt=\"", 2756), Tuple.Create("\"", 2816) , Tuple.Create(Tuple.Create("", 2762), Tuple.Create("logo", 2762), true) , Tuple.Create(Tuple.Create(" ", 2766), Tuple.Create("for", 2767), true) #line 78 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create(" ", 2770), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Name #line default #line hidden , 2771), false) ); WriteLiteral("/>\r\n </dd>\r\n"); #line 80 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" "); #line 81 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrWhiteSpace(PersonRequesting.Department.Institution.About)) { #line default #line hidden WriteLiteral(" <dt>\r\n About\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n"); WriteLiteral(" "); #line 87 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Institution.About); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 89 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" </dl>\r\n </columns>\r\n</row>\r\n<row>\r\n <columns>\r\n <h3>\r\n " + " Department\r\n </h3>\r\n <dl>\r\n <dt>\r\n " + " Name\r\n </dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 103 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Name); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Abbreviation\r\n " + "</dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 109 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Department.Abbreviation); #line default #line hidden WriteLiteral("\r\n </dd>\r\n </dl>\r\n </columns>\r\n</row>\r\n<row>\r\n <columns>\r" + "\n <h3>\r\n Proposed administrator\r\n </h3>\r\n <dl>\r\n" + " <dt>\r\n Name\r\n </dt>\r\n <dd>\r\n"); WriteLiteral(" "); #line 124 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.FullName); #line default #line hidden WriteLiteral("\r\n </dd>\r\n <dt>\r\n Email\r\n </dt>\r\n" + " <dd>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 3981), Tuple.Create("\"", 4016) #line 130 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 3988), Tuple.Create <System.Object, System.Int32>(GetMailTo(PersonRequesting) #line default #line hidden , 3988), false) ); WriteLiteral(">"); #line 130 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.Email); #line default #line hidden WriteLiteral(" "); #line 130 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.AlternateEmail); #line default #line hidden WriteLiteral("</a>\r\n </dd>\r\n"); #line 132 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" #line default #line hidden #line 132 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" if (!string.IsNullOrEmpty(PersonRequesting.PhoneNumber)) { #line default #line hidden WriteLiteral(" <dt>\r\n Phone Number\r\n </dt>\r\n"); WriteLiteral(" <dd>\r\n"); WriteLiteral(" "); #line 138 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.PhoneNumber); #line default #line hidden WriteLiteral("\r\n </dd>\r\n"); #line 140 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" } #line default #line hidden WriteLiteral(" <dt>\r\n Professional Role\r\n </dt>\r\n " + " <dd>\r\n <strong>"); #line 145 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.ProfessionalRole.Category.ToString()); #line default #line hidden WriteLiteral("</strong> - "); #line 145 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" Write(PersonRequesting.ProfessionalRole.Description); #line default #line hidden WriteLiteral("\r\n </dd>\r\n </dl>\r\n \r\n </columns>\r\n</row>\r\n<row>\r\n " + "<columns>\r\n <hr />\r\n <callout"); WriteLiteral(" class=\"secondary\""); WriteLiteral(">\r\n <p>\r\n In order to approve or delete this request, p" + "lease go to the <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4842), Tuple.Create("\"", 4938) #line 156 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 4849), Tuple.Create <System.Object, System.Int32>(BaseUrl #line default #line hidden , 4849), false) , Tuple.Create(Tuple.Create("", 4857), Tuple.Create("/reviewRegistrationRequest/", 4857), true) #line 156 "..\..\UserEmails\Inky\NotifyNewRegistrationRequest.cshtml" , Tuple.Create(Tuple.Create("", 4884), Tuple.Create <System.Object, System.Int32>(PersonRequesting.Department.Institution.Id.ToString() #line default #line hidden , 4884), false) ); WriteLiteral(">Review Registration Requests</a> page (will require login details).\r\n " + " </p>\r\n </callout>\r\n </columns>\r\n</row>"); }