Terminal overview
Are you fully prepared for departure? Go through this check list here and see, if you have everything you need before departure. See the list here.
Are you in the need of disability assistance, read more about the services here.
Error compiling template "Designs/aal/Paragraph/image.cshtml" Line 30: The name 'GetString' does not exist in the current context Line 42: The name 'GetString' does not exist in the current context Line 52: The name 'GetString' does not exist in the current context Line 52: The name 'GetString' does not exist in the current context Line 52: The name 'GetString' does not exist in the current context Line 69: The name 'GetString' does not exist in the current context Line 79: The name 'GetString' does not exist in the current context
1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 17 public class RazorEngine_beb93d687ad4464eb07c1ed9d25cc547 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> { 18 19 #line hidden 20 21 public RazorEngine_beb93d687ad4464eb07c1ed9d25cc547() { 22 } 23 24 public override void Execute() { 25 WriteLiteral("<figure"); 26 27 WriteAttribute("class", Tuple.Create(" class=\'", 94), Tuple.Create("\'", 125) 28 29 #line 3 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 30 , Tuple.Create(Tuple.Create("", 102), Tuple.Create<System.Object, System.Int32>(GetString("Item.Size") 31 32 #line default 33 #line hidden 34 , 102), false) 35 ); 36 37 WriteLiteral(">\r\n\t<img"); 38 39 WriteAttribute("src", Tuple.Create(" src=\'", 134), Tuple.Create("\'", 164) 40 41 #line 4 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 42 , Tuple.Create(Tuple.Create("", 140), Tuple.Create<System.Object, System.Int32>(GetString("Item.Image") 43 44 #line default 45 #line hidden 46 , 140), false) 47 ); 48 49 WriteAttribute("alt", Tuple.Create(" alt=\'", 165), Tuple.Create("\'", 299) 50 51 #line 4 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 52 , Tuple.Create(Tuple.Create("", 171), Tuple.Create<System.Object, System.Int32>(!string.IsNullOrWhiteSpace(GetString("Item.AlternativeText")) ? GetString("Item.AlternativeText") : GetString("Item.Caption") 53 54 #line default 55 #line hidden 56 , 171), false) 57 ); 58 59 WriteLiteral(">\r\n"); 60 61 62 #line 5 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 63 64 65 #line default 66 #line hidden 67 68 #line 5 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 69 if (!string.IsNullOrWhiteSpace(GetString("Item.Caption"))) 70 { 71 72 73 #line default 74 #line hidden 75 WriteLiteral("\t\t<figcaption>"); 76 77 78 #line 7 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 79 Write(GetString("Item.Caption")); 80 81 82 #line default 83 #line hidden 84 WriteLiteral("</figcaption>\r\n"); 85 86 87 #line 8 "D:\dynamicweb.net\Solutions\Gotcha\aal.dev.gotcha.dk\Files\Templates\Designs\aal\Paragraph\image.cshtml" 88 } 89 90 91 #line default 92 #line hidden 93 WriteLiteral("</figure>\r\n"); 94 95 } 96 } 97 } 98
1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 2 3 <figure class='@GetString("Item.Size")'> 4 <img src='@GetString("Item.Image")' alt='@(!string.IsNullOrWhiteSpace(GetString("Item.AlternativeText")) ? GetString("Item.AlternativeText") : GetString("Item.Caption"))'> 5 @if (!string.IsNullOrWhiteSpace(GetString("Item.Caption"))) 6 { 7 <figcaption>@GetString("Item.Caption")</figcaption> 8 } 9 </figure> 10