Error compiling template "Designs/Dwsimple/_parsed/Vis_Nyhedsblok.parsed.cshtml"
Line 908: The name 'NewRowParagraphExtended' does not exist in the current context
Line 918: The name 'ColumnClass' 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_407a0db4261c4519b1e6a69d96706735 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
18
19 #line hidden
20
21 #line 105 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
22 public RazorEngine.Templating.TemplateWriter RenderHeadingx()
23 {
24 #line default
25 #line hidden
26 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
27
28 #line 106 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
29
30 string plac=GetString("Item.TitlePlacement");
31
32 if (plac=="")
33 {
34 plac="left";
35 }
36
37 if (GetBoolean("Item.ShowTitle") != false){
38 if (!string.IsNullOrEmpty(GetString("Item.Title")))
39 {
40
41
42 #line default
43 #line hidden
44 WriteLiteralTo(__razor_helper_writer, "\t\t\t<h1");
45
46 WriteLiteralTo(__razor_helper_writer, " class=\"dw-section-title\"");
47
48 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 2430), Tuple.Create("\"", 2455)
49 , Tuple.Create(Tuple.Create("", 2438), Tuple.Create("text-align:", 2438), true)
50
51 #line 117 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
52 , Tuple.Create(Tuple.Create(" ", 2449), Tuple.Create<System.Object, System.Int32>(plac
53
54 #line default
55 #line hidden
56 , 2450), false)
57 );
58
59 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<span>\r\n");
60
61 WriteLiteralTo(__razor_helper_writer, "\t\t\t\t\t");
62
63
64 #line 119 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
65 WriteTo(__razor_helper_writer, GetString("Item.Title"));
66
67
68 #line default
69 #line hidden
70 WriteLiteralTo(__razor_helper_writer, " \r\n\t\t\t\t</span>\r\n\t\t\t</h1>\r\n");
71
72
73 #line 122 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
74 }
75 }
76
77
78 #line default
79 #line hidden
80 });
81
82 #line 124 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
83 }
84 #line default
85 #line hidden
86
87
88 #line 126 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
89 public RazorEngine.Templating.TemplateWriter RenderButtonx()
90 {
91 #line default
92 #line hidden
93 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
94
95 #line 127 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
96
97 var Url = GetString("Item.Link");
98
99 if (!string.IsNullOrEmpty(Url) && !string.IsNullOrEmpty(GetString("Item.LinkText")))
100 {
101 if (Url.Contains("http"))
102 {
103
104
105 #line default
106 #line hidden
107 WriteLiteralTo(__razor_helper_writer, "\t\t\t");
108
109 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t\t<p");
110
111 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\"");
112
113 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 31px !important\"");
114
115 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<a");
116
117 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 2816), Tuple.Create("\"", 2847)
118
119 #line 136 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
120 , Tuple.Create(Tuple.Create("", 2823), Tuple.Create<System.Object, System.Int32>(GetString(" item.link")
121
122 #line default
123 #line hidden
124 , 2823), false)
125 );
126
127 WriteLiteralTo(__razor_helper_writer, "=\"\" target=\"_blank\" class=\"btn btn-dw-primary pull-right\">");
128
129
130 #line 136 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
131 WriteTo(__razor_helper_writer, GetString("Item.LinkText"));
132
133
134 #line default
135 #line hidden
136 WriteLiteralTo(__razor_helper_writer, "</a>\r\n\t\t\t</p>\r\n\t\t\t");
137
138 WriteLiteralTo(__razor_helper_writer, "\r\n");
139
140
141 #line 139 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
142 }
143 else if (Url.Contains("/"))
144 {
145
146
147 #line default
148 #line hidden
149 WriteLiteralTo(__razor_helper_writer, "\t\t\t");
150
151 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t\t<p");
152
153 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\"");
154
155 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 32px !important\"");
156
157 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<a");
158
159 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3084), Tuple.Create("\"", 3115)
160
161 #line 144 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
162 , Tuple.Create(Tuple.Create("", 3091), Tuple.Create<System.Object, System.Int32>(GetString(" item.link")
163
164 #line default
165 #line hidden
166 , 3091), false)
167 );
168
169 WriteLiteralTo(__razor_helper_writer, "=\"\" class=\"btn btn-dw-primary pull-right\" download=\"\">");
170
171
172 #line 144 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
173 WriteTo(__razor_helper_writer, GetString("Item.LinkText"));
174
175
176 #line default
177 #line hidden
178 WriteLiteralTo(__razor_helper_writer, "</a>\r\n\t\t\t</p>\r\n\t\t\t");
179
180 WriteLiteralTo(__razor_helper_writer, "\r\n");
181
182
183 #line 147 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
184 }
185 else
186 {
187 if (!string.IsNullOrEmpty(GetString("Item.LinkText")))
188 {
189
190
191 #line default
192 #line hidden
193 WriteLiteralTo(__razor_helper_writer, "\t\t\t ");
194
195 WriteLiteralTo(__razor_helper_writer, "\r\n <p");
196
197 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\"");
198
199 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 33px !important\"");
200
201 WriteLiteralTo(__razor_helper_writer, ">\r\n <a");
202
203 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3425), Tuple.Create("\"", 3456)
204
205 #line 154 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
206 , Tuple.Create(Tuple.Create("", 3432), Tuple.Create<System.Object, System.Int32>(GetString(" item.link")
207
208 #line default
209 #line hidden
210 , 3432), false)
211 );
212
213 WriteLiteralTo(__razor_helper_writer, "=\"\" class=\"btn btn-dw-primary pull-right\">");
214
215
216 #line 154 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
217 WriteTo(__razor_helper_writer, GetString("Item.LinkText"));
218
219
220 #line default
221 #line hidden
222 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </p>\r\n ");
223
224 WriteLiteralTo(__razor_helper_writer, "\r\n");
225
226
227 #line 157 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
228 }
229 }
230 }
231
232
233 #line default
234 #line hidden
235 });
236
237 #line 160 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
238 }
239 #line default
240 #line hidden
241
242
243 #line 163 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
244 public RazorEngine.Templating.TemplateWriter RenderSubHeadingx()
245 {
246 #line default
247 #line hidden
248 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
249
250 #line 164 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
251
252 if (!string.IsNullOrEmpty(GetString("Item.Subtitle")))
253 {
254
255
256 #line default
257 #line hidden
258 WriteLiteralTo(__razor_helper_writer, "\t\t<h2>\r\n");
259
260 WriteLiteralTo(__razor_helper_writer, "\t\t\t");
261
262
263 #line 168 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
264 WriteTo(__razor_helper_writer, GetString("Item.Subtitle"));
265
266
267 #line default
268 #line hidden
269 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t</h2>\r\n");
270
271
272 #line 170 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
273 }
274
275
276 #line default
277 #line hidden
278 });
279
280 #line 171 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
281 }
282 #line default
283 #line hidden
284
285
286 #line 173 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
287 public RazorEngine.Templating.TemplateWriter RenderTextx()
288 {
289 #line default
290 #line hidden
291 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
292
293 #line 174 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
294
295 if (!string.IsNullOrWhiteSpace(GetString("Item.Text"))){
296
297
298 #line default
299 #line hidden
300 WriteLiteralTo(__razor_helper_writer, "\t\t<div");
301
302 WriteLiteralTo(__razor_helper_writer, " class=\"figure\"");
303
304 WriteLiteralTo(__razor_helper_writer, ">\r\n");
305
306 WriteLiteralTo(__razor_helper_writer, "\t\t\t");
307
308
309 #line 177 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
310 WriteTo(__razor_helper_writer, GetString("Item.Text"));
311
312
313 #line default
314 #line hidden
315 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t</div>\r\n");
316
317
318 #line 179 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
319 }
320
321
322 #line default
323 #line hidden
324 });
325
326 #line 180 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
327 }
328 #line default
329 #line hidden
330
331
332 #line 182 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
333 public RazorEngine.Templating.TemplateWriter RenderModulex()
334 {
335 #line default
336 #line hidden
337 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
338
339 #line 183 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
340
341
342
343 #line default
344 #line hidden
345
346 #line 184 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
347 WriteTo(__razor_helper_writer, GetString("ParagraphModule"));
348
349
350 #line default
351 #line hidden
352
353 #line 184 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
354
355
356
357 #line default
358 #line hidden
359 });
360
361 #line 185 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
362 }
363 #line default
364 #line hidden
365
366
367 #line 187 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
368 public RazorEngine.Templating.TemplateWriter RenderImagex()
369 {
370 #line default
371 #line hidden
372 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
373
374 #line 188 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
375
376 if (!string.IsNullOrEmpty(GetString("Item.Image")))
377 {
378 var image = System.Web.HttpContext.Current.Server.UrlEncode(GetString("Item.Image"));
379
380
381
382 #line default
383 #line hidden
384 WriteLiteralTo(__razor_helper_writer, "\t\t<!-- Choosing the smallest possible width that will work with responsive sizes " +
385 "-->\r\n");
386
387
388 #line 194 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
389 string optimizedwidth = "1280";
390 switch (GetString("Item.Width")){
391 case "12":
392 optimizedwidth = "1280";
393 break;
394 case "9":
395 optimizedwidth = "960";
396 break;
397 case "6":
398 optimizedwidth = "722";
399 break;
400 case "3":
401 optimizedwidth = "722";
402 break;
403 case "8":
404 optimizedwidth = "960";
405 break;
406 case "4":
407 optimizedwidth = "722";
408 break;
409 }
410
411 if (GetString("Item.ImageStyle") == "ball") {
412 optimizedwidth = "500&height=500";
413 }
414
415 if (string.IsNullOrEmpty(GetString("Item.Link")))
416 {
417 if (GetString("Item.VisBilledeTxt") == "UnderPicture")
418 {
419
420
421 #line default
422 #line hidden
423 WriteLiteralTo(__razor_helper_writer, " <div>\r\n <img");
424
425 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive img-centered\"");
426
427 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 4982), Tuple.Create("\"", 5010)
428
429 #line 225 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
430 , Tuple.Create(Tuple.Create("", 4990), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss()
431
432 #line default
433 #line hidden
434 , 4990), false)
435 );
436
437 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 5011), Tuple.Create("\"", 5101)
438 , Tuple.Create(Tuple.Create("", 5017), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 5017), true)
439
440 #line 225 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
441 , Tuple.Create(Tuple.Create("", 5051), Tuple.Create<System.Object, System.Int32>(optimizedwidth
442
443 #line default
444 #line hidden
445 , 5051), false)
446 , Tuple.Create(Tuple.Create("", 5066), Tuple.Create("&crop=1&Compression=75&image=", 5066), true)
447
448 #line 225 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
449 , Tuple.Create(Tuple.Create("", 5095), Tuple.Create<System.Object, System.Int32>(image
450
451 #line default
452 #line hidden
453 , 5095), false)
454 );
455
456 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 5102), Tuple.Create("\"", 5138)
457
458 #line 225 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
459 , Tuple.Create(Tuple.Create("", 5108), Tuple.Create<System.Object, System.Int32>(GetString(" item.overlaytxt")
460
461 #line default
462 #line hidden
463 , 5108), false)
464 );
465
466 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n");
467
468
469 #line 226 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
470
471
472 #line default
473 #line hidden
474
475 #line 226 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
476 if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
477
478
479 #line default
480 #line hidden
481 WriteLiteralTo(__razor_helper_writer, " <div");
482
483 WriteLiteralTo(__razor_helper_writer, " class=\"imagetext2\"");
484
485 WriteLiteralTo(__razor_helper_writer, ">\r\n <p>");
486
487
488 #line 228 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
489 WriteTo(__razor_helper_writer, GetString("Item.TekstTilBillede"));
490
491
492 #line default
493 #line hidden
494 WriteLiteralTo(__razor_helper_writer, "</p>\r\n </div>\r\n");
495
496
497 #line 230 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
498 }
499
500
501 #line default
502 #line hidden
503 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
504
505
506 #line 232 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
507 } else {
508
509
510 #line default
511 #line hidden
512 WriteLiteralTo(__razor_helper_writer, " <div");
513
514 WriteLiteralTo(__razor_helper_writer, " class=\"imagebox\"");
515
516 WriteLiteralTo(__razor_helper_writer, ">\r\n <img");
517
518 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive dw-std-image img-centered enlarge-photo-image\"");
519
520 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 5573), Tuple.Create("\"", 5601)
521
522 #line 234 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
523 , Tuple.Create(Tuple.Create("", 5581), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss()
524
525 #line default
526 #line hidden
527 , 5581), false)
528 );
529
530 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 5602), Tuple.Create("\"", 5692)
531 , Tuple.Create(Tuple.Create("", 5608), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 5608), true)
532
533 #line 234 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
534 , Tuple.Create(Tuple.Create("", 5642), Tuple.Create<System.Object, System.Int32>(optimizedwidth
535
536 #line default
537 #line hidden
538 , 5642), false)
539 , Tuple.Create(Tuple.Create("", 5657), Tuple.Create("&crop=1&Compression=75&image=", 5657), true)
540
541 #line 234 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
542 , Tuple.Create(Tuple.Create("", 5686), Tuple.Create<System.Object, System.Int32>(image
543
544 #line default
545 #line hidden
546 , 5686), false)
547 );
548
549 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 5693), Tuple.Create("\"", 5729)
550
551 #line 234 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
552 , Tuple.Create(Tuple.Create("", 5699), Tuple.Create<System.Object, System.Int32>(GetString(" item.overlaytxt")
553
554 #line default
555 #line hidden
556 , 5699), false)
557 );
558
559 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n");
560
561
562 #line 235 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
563
564
565 #line default
566 #line hidden
567
568 #line 235 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
569 if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
570
571
572 #line default
573 #line hidden
574 WriteLiteralTo(__razor_helper_writer, " <div");
575
576 WriteLiteralTo(__razor_helper_writer, " class=\"imagetext\"");
577
578 WriteLiteralTo(__razor_helper_writer, ">\r\n <p>");
579
580
581 #line 237 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
582 WriteTo(__razor_helper_writer, GetString("Item.TekstTilBillede"));
583
584
585 #line default
586 #line hidden
587 WriteLiteralTo(__razor_helper_writer, "</p>\r\n </div>\r\n");
588
589
590 #line 239 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
591 }
592
593
594 #line default
595 #line hidden
596 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
597
598
599 #line 241 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
600 }
601
602 } else {
603
604
605 #line default
606 #line hidden
607 WriteLiteralTo(__razor_helper_writer, "\t\t\t<a");
608
609 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 6039), Tuple.Create("\"", 6070)
610
611 #line 244 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
612 , Tuple.Create(Tuple.Create("", 6046), Tuple.Create<System.Object, System.Int32>(GetString(" item.link")
613
614 #line default
615 #line hidden
616 , 6046), false)
617 );
618
619 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n");
620
621
622 #line 245 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
623
624
625 #line default
626 #line hidden
627
628 #line 245 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
629 if (GetString("Item.VisBilledeTxt") == "UnderPicture")
630 {
631
632
633 #line default
634 #line hidden
635 WriteLiteralTo(__razor_helper_writer, " <div>\r\n <img");
636
637 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive img-centered\"");
638
639 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 6260), Tuple.Create("\"", 6288)
640
641 #line 248 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
642 , Tuple.Create(Tuple.Create("", 6268), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss()
643
644 #line default
645 #line hidden
646 , 6268), false)
647 );
648
649 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 6289), Tuple.Create("\"", 6379)
650 , Tuple.Create(Tuple.Create("", 6295), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 6295), true)
651
652 #line 248 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
653 , Tuple.Create(Tuple.Create("", 6329), Tuple.Create<System.Object, System.Int32>(optimizedwidth
654
655 #line default
656 #line hidden
657 , 6329), false)
658 , Tuple.Create(Tuple.Create("", 6344), Tuple.Create("&crop=1&Compression=75&image=", 6344), true)
659
660 #line 248 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
661 , Tuple.Create(Tuple.Create("", 6373), Tuple.Create<System.Object, System.Int32>(image
662
663 #line default
664 #line hidden
665 , 6373), false)
666 );
667
668 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 6380), Tuple.Create("\"", 6416)
669
670 #line 248 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
671 , Tuple.Create(Tuple.Create("", 6386), Tuple.Create<System.Object, System.Int32>(GetString(" item.overlaytxt")
672
673 #line default
674 #line hidden
675 , 6386), false)
676 );
677
678 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n");
679
680
681 #line 249 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
682
683
684 #line default
685 #line hidden
686
687 #line 249 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
688 if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
689
690
691 #line default
692 #line hidden
693 WriteLiteralTo(__razor_helper_writer, " <div");
694
695 WriteLiteralTo(__razor_helper_writer, " class=\"imagetext2\"");
696
697 WriteLiteralTo(__razor_helper_writer, ">\r\n <p>");
698
699
700 #line 251 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
701 WriteTo(__razor_helper_writer, GetString("Item.TekstTilBillede"));
702
703
704 #line default
705 #line hidden
706 WriteLiteralTo(__razor_helper_writer, "</p>\r\n </div>\r\n");
707
708
709 #line 253 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
710 }
711
712
713 #line default
714 #line hidden
715 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
716
717
718 #line 255 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
719 } else {
720
721
722
723 #line default
724 #line hidden
725 WriteLiteralTo(__razor_helper_writer, " <div");
726
727 WriteLiteralTo(__razor_helper_writer, " class=\"imagebox\"");
728
729 WriteLiteralTo(__razor_helper_writer, ">\r\n <img");
730
731 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive dw-std-image img-centered\"");
732
733 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 6875), Tuple.Create("\"", 6903)
734
735 #line 258 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
736 , Tuple.Create(Tuple.Create("", 6883), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss()
737
738 #line default
739 #line hidden
740 , 6883), false)
741 );
742
743 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 6904), Tuple.Create("\"", 6994)
744 , Tuple.Create(Tuple.Create("", 6910), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 6910), true)
745
746 #line 258 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
747 , Tuple.Create(Tuple.Create("", 6944), Tuple.Create<System.Object, System.Int32>(optimizedwidth
748
749 #line default
750 #line hidden
751 , 6944), false)
752 , Tuple.Create(Tuple.Create("", 6959), Tuple.Create("&crop=1&Compression=75&image=", 6959), true)
753
754 #line 258 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
755 , Tuple.Create(Tuple.Create("", 6988), Tuple.Create<System.Object, System.Int32>(image
756
757 #line default
758 #line hidden
759 , 6988), false)
760 );
761
762 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 6995), Tuple.Create("\"", 7031)
763
764 #line 258 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
765 , Tuple.Create(Tuple.Create("", 7001), Tuple.Create<System.Object, System.Int32>(GetString(" item.overlaytxt")
766
767 #line default
768 #line hidden
769 , 7001), false)
770 );
771
772 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n");
773
774
775 #line 259 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
776
777
778 #line default
779 #line hidden
780
781 #line 259 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
782 if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
783
784
785 #line default
786 #line hidden
787 WriteLiteralTo(__razor_helper_writer, " <div");
788
789 WriteLiteralTo(__razor_helper_writer, " class=\"imagetext\"");
790
791 WriteLiteralTo(__razor_helper_writer, ">\r\n <p>");
792
793
794 #line 261 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
795 WriteTo(__razor_helper_writer, GetString("Item.TekstTilBillede"));
796
797
798 #line default
799 #line hidden
800 WriteLiteralTo(__razor_helper_writer, "</p>\r\n </div>\r\n");
801
802
803 #line 263 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
804 }
805
806
807 #line default
808 #line hidden
809 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
810
811
812 #line 265 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
813 }
814
815
816 #line default
817 #line hidden
818 WriteLiteralTo(__razor_helper_writer, "\t\t\t</a>\r\n");
819
820
821 #line 267 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
822 }
823 }
824
825
826 #line default
827 #line hidden
828 });
829
830 #line 269 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
831 }
832 #line default
833 #line hidden
834
835
836 #line 271 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
837
838 private string GetImageBorderCss()
839 {
840 if (GetString("Item.ImageStyle") == "cover")
841 {
842 return "padding: 8px";
843 }
844 else if (GetString("Item.ImageStyle") == "cover-border")
845 {
846 return "padding: 4px; border: 1px solid #e1e1e1; border-radius: 0px !important";
847 }
848 else if (GetString("Item.ImageStyle") == "frame")
849 {
850 return "padding: 6px; border: 1px solid #e1e1e1; border-radius: 0px !important";
851 }
852 else if (GetString("Item.ImageStyle") == "rounded")
853 {
854 return "border-radius: 8px !important";
855 }
856 else if (GetString("Item.ImageStyle") == "ball")
857 {
858 return "border-radius: 1000px !important";
859 }
860 else if (GetString("Item.ImageStyle") == "shadow")
861 {
862 return "box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2)";
863 }
864 else
865 {
866 return string.Empty;
867 }
868 }
869 private string GetParagraphWidth()
870 {
871 string PctWidth = "100%";
872 switch (GetString("Item.Width")){
873 case "12":
874 PctWidth = "100%";
875 break;
876 case "9":
877 PctWidth = "75%";
878 break;
879 case "6":
880 PctWidth = "50%";
881 break;
882 case "3":
883 PctWidth = "25%";
884 break;
885 case "8":
886 PctWidth = "66%";
887 break;
888 case "4":
889 PctWidth = "33%";
890 break;
891 }
892 return PctWidth;
893 }
894
895 #line default
896 #line hidden
897
898
899 public RazorEngine_407a0db4261c4519b1e6a69d96706735() {
900 }
901
902 public override void Execute() {
903 WriteLiteral("[Include file \'Layout.cshtml\' not found in \'Templates/Designs/Dwsimple/Vis_Nyheds" +
904 "blok.cshtml\']\r\n\r\n\r\n\r\n\r\n");
905
906
907 #line 7 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
908 Write(NewRowParagraphExtended());
909
910
911 #line default
912 #line hidden
913 WriteLiteral("\r\n\r\n<div");
914
915 WriteAttribute("class", Tuple.Create(" class=\"", 260), Tuple.Create("\"", 294)
916
917 #line 9 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
918 , Tuple.Create(Tuple.Create("", 268), Tuple.Create<System.Object, System.Int32>(ColumnClass()
919
920 #line default
921 #line hidden
922 , 268), false)
923 , Tuple.Create(Tuple.Create(" ", 282), Tuple.Create("dist2nxtblk", 283), true)
924 );
925
926 WriteLiteral(">\r\n\r\n\r\n\r\n");
927
928
929 #line 13 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
930
931
932 #line default
933 #line hidden
934
935 #line 13 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
936 if (@GetString("Item.EqualContentHeight")=="True")
937 {
938
939
940 #line default
941 #line hidden
942 WriteLiteral("\t ");
943
944 WriteLiteral("\r\n <div");
945
946 WriteAttribute("class", Tuple.Create(" class=\"", 384), Tuple.Create("\"", 425)
947
948 #line 16 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
949 , Tuple.Create(Tuple.Create("", 392), Tuple.Create<System.Object, System.Int32>(GetString(" item.contentstyle")
950
951 #line default
952 #line hidden
953 , 392), false)
954 , Tuple.Create(Tuple.Create("", 424), Tuple.Create("=", 424), true)
955 );
956
957 WriteLiteral("\" special-col-style=\"\" special-col-height\"=\"\" style=\"background-color: ");
958
959
960 #line 16 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
961 Write(GetString(" item.backgroundcolor.color"));
962
963
964 #line default
965 #line hidden
966 WriteLiteral("\"=\"\">\r\n\t</div>");
967
968 WriteLiteral(" \r\n");
969
970
971 #line 18 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
972 }
973 else
974 {
975
976
977 #line default
978 #line hidden
979 WriteLiteral("\t");
980
981 WriteLiteral("\r\n <div");
982
983 WriteAttribute("class", Tuple.Create(" class=\"", 600), Tuple.Create("\"", 641)
984
985 #line 22 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
986 , Tuple.Create(Tuple.Create("", 608), Tuple.Create<System.Object, System.Int32>(GetString(" item.contentstyle")
987
988 #line default
989 #line hidden
990 , 608), false)
991 , Tuple.Create(Tuple.Create("", 640), Tuple.Create("=", 640), true)
992 );
993
994 WriteLiteral("\" special-col-style\"=\"\" style=\"background-color: ");
995
996
997 #line 22 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
998 Write(GetString(" item.backgroundcolor.color"));
999
1000
1001 #line default
1002 #line hidden
1003 WriteLiteral("\"=\"\">\r\n\t</div>");
1004
1005 WriteLiteral("\r\n");
1006
1007
1008 #line 24 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1009
1010 }
1011
1012
1013 #line default
1014 #line hidden
1015 WriteLiteral("\r\n\r\n\r\n");
1016
1017
1018 #line 29 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1019
1020
1021 #line default
1022 #line hidden
1023
1024 #line 29 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1025 if (GetString("Item.Order") == "title-first" || GetString("Item.Order") == "")
1026 {
1027
1028
1029 #line default
1030 #line hidden
1031
1032 #line 31 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1033 Write(RenderHeadingx());
1034
1035
1036 #line default
1037 #line hidden
1038
1039 #line 31 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1040
1041
1042
1043 #line default
1044 #line hidden
1045
1046 #line 32 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1047 Write(RenderImagex());
1048
1049
1050 #line default
1051 #line hidden
1052
1053 #line 32 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1054
1055
1056
1057 #line default
1058 #line hidden
1059
1060 #line 33 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1061 Write(RenderSubHeadingx());
1062
1063
1064 #line default
1065 #line hidden
1066
1067 #line 33 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1068
1069
1070
1071 #line default
1072 #line hidden
1073
1074 #line 34 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1075 Write(RenderTextx());
1076
1077
1078 #line default
1079 #line hidden
1080
1081 #line 34 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1082
1083
1084
1085 #line default
1086 #line hidden
1087
1088 #line 35 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1089 Write(RenderModulex());
1090
1091
1092 #line default
1093 #line hidden
1094
1095 #line 35 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1096
1097
1098
1099 #line default
1100 #line hidden
1101
1102 #line 36 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1103 Write(RenderButtonx());
1104
1105
1106 #line default
1107 #line hidden
1108
1109 #line 36 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1110
1111 }
1112
1113
1114 #line default
1115 #line hidden
1116 WriteLiteral("\r\n");
1117
1118
1119 #line 39 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1120
1121
1122 #line default
1123 #line hidden
1124
1125 #line 39 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1126 if (GetString("Item.Order") == "image-first")
1127 {
1128
1129
1130 #line default
1131 #line hidden
1132 WriteLiteral("\t\t\t<p> </p>\r\n");
1133
1134
1135 #line 42 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1136
1137
1138 #line default
1139 #line hidden
1140
1141 #line 42 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1142 Write(RenderImagex());
1143
1144
1145 #line default
1146 #line hidden
1147
1148 #line 42 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1149
1150
1151
1152 #line default
1153 #line hidden
1154
1155 #line 43 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1156 Write(RenderHeadingx());
1157
1158
1159 #line default
1160 #line hidden
1161
1162 #line 43 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1163
1164
1165
1166 #line default
1167 #line hidden
1168
1169 #line 44 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1170 Write(RenderSubHeadingx());
1171
1172
1173 #line default
1174 #line hidden
1175
1176 #line 44 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1177
1178
1179
1180 #line default
1181 #line hidden
1182
1183 #line 45 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1184 Write(RenderTextx());
1185
1186
1187 #line default
1188 #line hidden
1189
1190 #line 45 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1191
1192
1193
1194 #line default
1195 #line hidden
1196
1197 #line 46 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1198 Write(RenderModulex());
1199
1200
1201 #line default
1202 #line hidden
1203
1204 #line 46 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1205
1206
1207
1208 #line default
1209 #line hidden
1210
1211 #line 47 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1212 Write(RenderButtonx());
1213
1214
1215 #line default
1216 #line hidden
1217
1218 #line 47 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1219
1220 }
1221
1222
1223 #line default
1224 #line hidden
1225 WriteLiteral("\r\n");
1226
1227
1228 #line 50 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1229
1230
1231 #line default
1232 #line hidden
1233
1234 #line 50 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1235 if (GetString("Item.Order") == "title-sub-first")
1236 {
1237
1238
1239 #line default
1240 #line hidden
1241
1242 #line 52 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1243 Write(RenderHeadingx());
1244
1245
1246 #line default
1247 #line hidden
1248
1249 #line 52 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1250
1251
1252
1253 #line default
1254 #line hidden
1255
1256 #line 53 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1257 Write(RenderSubHeadingx());
1258
1259
1260 #line default
1261 #line hidden
1262
1263 #line 53 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1264
1265
1266
1267 #line default
1268 #line hidden
1269
1270 #line 54 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1271 Write(RenderImagex());
1272
1273
1274 #line default
1275 #line hidden
1276
1277 #line 54 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1278
1279
1280
1281 #line default
1282 #line hidden
1283
1284 #line 55 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1285 Write(RenderTextx());
1286
1287
1288 #line default
1289 #line hidden
1290
1291 #line 55 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1292
1293
1294
1295 #line default
1296 #line hidden
1297
1298 #line 56 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1299 Write(RenderModulex());
1300
1301
1302 #line default
1303 #line hidden
1304
1305 #line 56 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1306
1307
1308
1309 #line default
1310 #line hidden
1311
1312 #line 57 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1313 Write(RenderButtonx());
1314
1315
1316 #line default
1317 #line hidden
1318
1319 #line 57 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1320
1321 }
1322
1323
1324 #line default
1325 #line hidden
1326 WriteLiteral("\r\n");
1327
1328
1329 #line 60 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1330
1331
1332 #line default
1333 #line hidden
1334
1335 #line 60 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1336 if (GetString("Item.Order") == "icon-xs")
1337 {
1338
1339
1340 #line default
1341 #line hidden
1342 WriteLiteral("\t\t<div");
1343
1344 WriteLiteral(" class=\"col-md-2\"");
1345
1346 WriteLiteral(">\r\n");
1347
1348 WriteLiteral("\t\t\t");
1349
1350
1351 #line 63 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1352 Write(RenderImagex());
1353
1354
1355 #line default
1356 #line hidden
1357 WriteLiteral("\r\n\t\t</div>\r\n");
1358
1359 WriteLiteral("\t\t<div");
1360
1361 WriteLiteral(" class=\"col-md-10\"");
1362
1363 WriteLiteral(">\r\n");
1364
1365 WriteLiteral("\t\t\t");
1366
1367
1368 #line 66 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1369 Write(RenderHeadingx());
1370
1371
1372 #line default
1373 #line hidden
1374 WriteLiteral("\r\n");
1375
1376 WriteLiteral("\t\t\t");
1377
1378
1379 #line 67 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1380 Write(RenderSubHeadingx());
1381
1382
1383 #line default
1384 #line hidden
1385 WriteLiteral("\r\n");
1386
1387 WriteLiteral("\t\t\t");
1388
1389
1390 #line 68 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1391 Write(RenderTextx());
1392
1393
1394 #line default
1395 #line hidden
1396 WriteLiteral("\r\n");
1397
1398 WriteLiteral("\t\t\t");
1399
1400
1401 #line 69 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1402 Write(RenderModulex());
1403
1404
1405 #line default
1406 #line hidden
1407 WriteLiteral("\r\n");
1408
1409 WriteLiteral("\t\t\t");
1410
1411
1412 #line 70 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1413 Write(RenderButtonx());
1414
1415
1416 #line default
1417 #line hidden
1418 WriteLiteral("\r\n\t\t</div>\r\n");
1419
1420
1421 #line 72 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1422 }
1423
1424
1425 #line default
1426 #line hidden
1427 WriteLiteral("\r\n");
1428
1429
1430 #line 74 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1431
1432
1433 #line default
1434 #line hidden
1435
1436 #line 74 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1437 if (GetString("Item.Order") == "icon-sm")
1438 {
1439
1440
1441 #line default
1442 #line hidden
1443 WriteLiteral("\t\t<div");
1444
1445 WriteLiteral(" class=\"col-md-3\"");
1446
1447 WriteLiteral(">\r\n");
1448
1449 WriteLiteral("\t\t\t");
1450
1451
1452 #line 77 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1453 Write(RenderImagex());
1454
1455
1456 #line default
1457 #line hidden
1458 WriteLiteral("\r\n\t\t</div>\r\n");
1459
1460 WriteLiteral("\t\t<div");
1461
1462 WriteLiteral(" class=\"col-md-9\"");
1463
1464 WriteLiteral(">\r\n");
1465
1466 WriteLiteral("\t\t\t");
1467
1468
1469 #line 80 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1470 Write(RenderHeadingx());
1471
1472
1473 #line default
1474 #line hidden
1475 WriteLiteral("\r\n");
1476
1477 WriteLiteral("\t\t\t");
1478
1479
1480 #line 81 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1481 Write(RenderSubHeadingx());
1482
1483
1484 #line default
1485 #line hidden
1486 WriteLiteral("\r\n");
1487
1488 WriteLiteral("\t\t\t");
1489
1490
1491 #line 82 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1492 Write(RenderTextx());
1493
1494
1495 #line default
1496 #line hidden
1497 WriteLiteral("\r\n");
1498
1499 WriteLiteral("\t\t\t");
1500
1501
1502 #line 83 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1503 Write(RenderModulex());
1504
1505
1506 #line default
1507 #line hidden
1508 WriteLiteral("\r\n");
1509
1510 WriteLiteral("\t\t\t");
1511
1512
1513 #line 84 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1514 Write(RenderButtonx());
1515
1516
1517 #line default
1518 #line hidden
1519 WriteLiteral("\r\n\t\t</div>\r\n");
1520
1521
1522 #line 86 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1523 }
1524
1525
1526 #line default
1527 #line hidden
1528 WriteLiteral("\r\n");
1529
1530
1531 #line 88 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1532
1533
1534 #line default
1535 #line hidden
1536
1537 #line 88 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1538 if (GetString("Item.Order") == "icon-md")
1539 {
1540
1541
1542 #line default
1543 #line hidden
1544 WriteLiteral("\t\t<div");
1545
1546 WriteLiteral(" class=\"col-md-4\"");
1547
1548 WriteLiteral(">\r\n");
1549
1550 WriteLiteral("\t\t\t");
1551
1552
1553 #line 91 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1554 Write(RenderImagex());
1555
1556
1557 #line default
1558 #line hidden
1559 WriteLiteral("\r\n\t\t</div>\r\n");
1560
1561 WriteLiteral("\t\t<div");
1562
1563 WriteLiteral(" class=\"col-md-8\"");
1564
1565 WriteLiteral(">\r\n");
1566
1567 WriteLiteral("\t\t\t");
1568
1569
1570 #line 94 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1571 Write(RenderHeadingx());
1572
1573
1574 #line default
1575 #line hidden
1576 WriteLiteral("\r\n");
1577
1578 WriteLiteral("\t\t\t");
1579
1580
1581 #line 95 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1582 Write(RenderSubHeadingx());
1583
1584
1585 #line default
1586 #line hidden
1587 WriteLiteral("\r\n");
1588
1589 WriteLiteral("\t\t\t");
1590
1591
1592 #line 96 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1593 Write(RenderTextx());
1594
1595
1596 #line default
1597 #line hidden
1598 WriteLiteral("\r\n");
1599
1600 WriteLiteral("\t\t\t");
1601
1602
1603 #line 97 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1604 Write(RenderModulex());
1605
1606
1607 #line default
1608 #line hidden
1609 WriteLiteral("\r\n");
1610
1611 WriteLiteral("\t\t\t");
1612
1613
1614 #line 98 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1615 Write(RenderButtonx());
1616
1617
1618 #line default
1619 #line hidden
1620 WriteLiteral("\r\n\t\t</div>\r\n");
1621
1622
1623 #line 100 "E:\dynamicweb.net\solutions\SkovboData\skovboservice.dw9.dynamicweb-cms.com\Files\Templates\Designs\Dwsimple\_parsed\Vis_Nyhedsblok.parsed.cshtml"
1624 }
1625
1626
1627 #line default
1628 #line hidden
1629 WriteLiteral("\t\r\n</div>\r\n\r\n\r\n");
1630
1631 WriteLiteral("\r\n");
1632
1633 WriteLiteral("\r\n\r\n");
1634
1635 WriteLiteral("\r\n");
1636
1637 WriteLiteral("\r\n");
1638
1639 WriteLiteral("\r\n");
1640
1641 WriteLiteral("\r\n");
1642
1643 WriteLiteral("\r\n\r\n<style>\r\n .alignCenter{\r\n text-align:center;\r\n }\r\n \r\n .img{\r\n display: " +
1644 "block;\r\n margin-left: auto;\r\n margin-right: auto;\r\n }\r\n \r\n</style>");
1645
1646 }
1647 }
1648 }
1649
1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
2 [Include file 'Layout.cshtml' not found in 'Templates/Designs/Dwsimple/Vis_Nyhedsblok.cshtml']
3
4
5
6
7 @NewRowParagraphExtended()
8
9 <div class="@ColumnClass() dist2nxtblk">
10
11
12
13 @if (@GetString("Item.EqualContentHeight")=="True")
14 {
15 <text>
16 <div class="@GetString(" item.contentstyle")="" special-col-style="" special-col-height"="" style="background-color: @GetString(" item.backgroundcolor.color")"="">
17 </div></text>
18 }
19 else
20 {
21 <text>
22 <div class="@GetString(" item.contentstyle")="" special-col-style"="" style="background-color: @GetString(" item.backgroundcolor.color")"="">
23 </div></text>
24
25 }
26
27
28
29 @if (GetString("Item.Order") == "title-first" || GetString("Item.Order") == "")
30 {
31 @RenderHeadingx()
32 @RenderImagex()
33 @RenderSubHeadingx()
34 @RenderTextx()
35 @RenderModulex()
36 @RenderButtonx()
37 }
38
39 @if (GetString("Item.Order") == "image-first")
40 {
41 <p> </p>
42 @RenderImagex()
43 @RenderHeadingx()
44 @RenderSubHeadingx()
45 @RenderTextx()
46 @RenderModulex()
47 @RenderButtonx()
48 }
49
50 @if (GetString("Item.Order") == "title-sub-first")
51 {
52 @RenderHeadingx()
53 @RenderSubHeadingx()
54 @RenderImagex()
55 @RenderTextx()
56 @RenderModulex()
57 @RenderButtonx()
58 }
59
60 @if (GetString("Item.Order") == "icon-xs")
61 {
62 <div class="col-md-2">
63 @RenderImagex()
64 </div>
65 <div class="col-md-10">
66 @RenderHeadingx()
67 @RenderSubHeadingx()
68 @RenderTextx()
69 @RenderModulex()
70 @RenderButtonx()
71 </div>
72 }
73
74 @if (GetString("Item.Order") == "icon-sm")
75 {
76 <div class="col-md-3">
77 @RenderImagex()
78 </div>
79 <div class="col-md-9">
80 @RenderHeadingx()
81 @RenderSubHeadingx()
82 @RenderTextx()
83 @RenderModulex()
84 @RenderButtonx()
85 </div>
86 }
87
88 @if (GetString("Item.Order") == "icon-md")
89 {
90 <div class="col-md-4">
91 @RenderImagex()
92 </div>
93 <div class="col-md-8">
94 @RenderHeadingx()
95 @RenderSubHeadingx()
96 @RenderTextx()
97 @RenderModulex()
98 @RenderButtonx()
99 </div>
100 }
101
102 </div>
103
104
105 @helper RenderHeadingx()
106 {
107 string plac=GetString("Item.TitlePlacement");
108
109 if (plac=="")
110 {
111 plac="left";
112 }
113
114 if (GetBoolean("Item.ShowTitle") != false){
115 if (!string.IsNullOrEmpty(GetString("Item.Title")))
116 {
117 <h1 class="dw-section-title" style="text-align: @plac">
118 <span>
119 @GetString("Item.Title")
120 </span>
121 </h1>
122 }
123 }
124 }
125
126 @helper RenderButtonx()
127 {
128 var Url = GetString("Item.Link");
129
130 if (!string.IsNullOrEmpty(Url) && !string.IsNullOrEmpty(GetString("Item.LinkText")))
131 {
132 if (Url.Contains("http"))
133 {
134 <text>
135 <p class="pull-right" style="margin-bottom: 31px !important">
136 <a href="@GetString(" item.link")"="" target="_blank" class="btn btn-dw-primary pull-right">@GetString("Item.LinkText")</a>
137 </p>
138 </text>
139 }
140 else if (Url.Contains("/"))
141 {
142 <text>
143 <p class="pull-right" style="margin-bottom: 32px !important">
144 <a href="@GetString(" item.link")"="" class="btn btn-dw-primary pull-right" download="">@GetString("Item.LinkText")</a>
145 </p>
146 </text>
147 }
148 else
149 {
150 if (!string.IsNullOrEmpty(GetString("Item.LinkText")))
151 {
152 <text>
153 <p class="pull-right" style="margin-bottom: 33px !important">
154 <a href="@GetString(" item.link")"="" class="btn btn-dw-primary pull-right">@GetString("Item.LinkText")</a>
155 </p>
156 </text>
157 }
158 }
159 }
160 }
161
162
163 @helper RenderSubHeadingx()
164 {
165 if (!string.IsNullOrEmpty(GetString("Item.Subtitle")))
166 {
167 <h2>
168 @GetString("Item.Subtitle")
169 </h2>
170 }
171 }
172
173 @helper RenderTextx()
174 {
175 if (!string.IsNullOrWhiteSpace(GetString("Item.Text"))){
176 <div class="figure">
177 @GetString("Item.Text")
178 </div>
179 }
180 }
181
182 @helper RenderModulex()
183 {
184 @GetString("ParagraphModule")
185 }
186
187 @helper RenderImagex()
188 {
189 if (!string.IsNullOrEmpty(GetString("Item.Image")))
190 {
191 var image = System.Web.HttpContext.Current.Server.UrlEncode(GetString("Item.Image"));
192
193 <!-- Choosing the smallest possible width that will work with responsive sizes -->
194 string optimizedwidth = "1280";
195 switch (GetString("Item.Width")){
196 case "12":
197 optimizedwidth = "1280";
198 break;
199 case "9":
200 optimizedwidth = "960";
201 break;
202 case "6":
203 optimizedwidth = "722";
204 break;
205 case "3":
206 optimizedwidth = "722";
207 break;
208 case "8":
209 optimizedwidth = "960";
210 break;
211 case "4":
212 optimizedwidth = "722";
213 break;
214 }
215
216 if (GetString("Item.ImageStyle") == "ball") {
217 optimizedwidth = "500&height=500";
218 }
219
220 if (string.IsNullOrEmpty(GetString("Item.Link")))
221 {
222 if (GetString("Item.VisBilledeTxt") == "UnderPicture")
223 {
224 <div>
225 <img class="img-responsive img-centered" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" alt="@GetString(" item.overlaytxt")"="">
226 @if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
227 <div class="imagetext2">
228 <p>@GetString("Item.TekstTilBillede")</p>
229 </div>
230 }
231 </div>
232 } else {
233 <div class="imagebox">
234 <img class="img-responsive dw-std-image img-centered enlarge-photo-image" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" alt="@GetString(" item.overlaytxt")"="">
235 @if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
236 <div class="imagetext">
237 <p>@GetString("Item.TekstTilBillede")</p>
238 </div>
239 }
240 </div>
241 }
242
243 } else {
244 <a href="@GetString(" item.link")"="">
245 @if (GetString("Item.VisBilledeTxt") == "UnderPicture")
246 {
247 <div>
248 <img class="img-responsive img-centered" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" alt="@GetString(" item.overlaytxt")"="">
249 @if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
250 <div class="imagetext2">
251 <p>@GetString("Item.TekstTilBillede")</p>
252 </div>
253 }
254 </div>
255 } else {
256
257 <div class="imagebox">
258 <img class="img-responsive dw-std-image img-centered" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" alt="@GetString(" item.overlaytxt")"="">
259 @if (!string.IsNullOrEmpty(GetString("Item.TekstTilBillede"))){
260 <div class="imagetext">
261 <p>@GetString("Item.TekstTilBillede")</p>
262 </div>
263 }
264 </div>
265 }
266 </a>
267 }
268 }
269 }
270
271 @functions {
272 private string GetImageBorderCss()
273 {
274 if (GetString("Item.ImageStyle") == "cover")
275 {
276 return "padding: 8px";
277 }
278 else if (GetString("Item.ImageStyle") == "cover-border")
279 {
280 return "padding: 4px; border: 1px solid #e1e1e1; border-radius: 0px !important";
281 }
282 else if (GetString("Item.ImageStyle") == "frame")
283 {
284 return "padding: 6px; border: 1px solid #e1e1e1; border-radius: 0px !important";
285 }
286 else if (GetString("Item.ImageStyle") == "rounded")
287 {
288 return "border-radius: 8px !important";
289 }
290 else if (GetString("Item.ImageStyle") == "ball")
291 {
292 return "border-radius: 1000px !important";
293 }
294 else if (GetString("Item.ImageStyle") == "shadow")
295 {
296 return "box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2)";
297 }
298 else
299 {
300 return string.Empty;
301 }
302 }
303 private string GetParagraphWidth()
304 {
305 string PctWidth = "100%";
306 switch (GetString("Item.Width")){
307 case "12":
308 PctWidth = "100%";
309 break;
310 case "9":
311 PctWidth = "75%";
312 break;
313 case "6":
314 PctWidth = "50%";
315 break;
316 case "3":
317 PctWidth = "25%";
318 break;
319 case "8":
320 PctWidth = "66%";
321 break;
322 case "4":
323 PctWidth = "33%";
324 break;
325 }
326 return PctWidth;
327 }
328 }
329
330
331 <style>
332 .alignCenter{
333 text-align:center;
334 }
335
336 .img{
337 display: block;
338 margin-left: auto;
339 margin-right: auto;
340 }
341
342 </style>