Error executing template "Designs/bleau-solutionset/_parsed/news-article.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_3a8216e2e28f4797aab8bc1db7d2153e.Execute() in D:\Dynamicweb.Net\www.gladsaxe.dk (DW9.x)\Files\Templates\Designs\bleau-solutionset\_parsed\news-article.parsed.cshtml:line 19
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using Dynamicweb.Rendering 3 4 <!DOCTYPE html> 5 <html lang="@Pageview.Area.CultureInfo.TwoLetterISOLanguageName"> 6 <head> 7 8 9 <script src="https://cookiecontrol.bleau.dk/scripts/cookieconsent.js"></script> 10 <script id="cookiecontrolfunctions" src="https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js" data-cname="Gladsaxe" data-defaultset="dwdefault"></script> 11 <script src="https://moliricdn.azurewebsites.net/gladsaxe/appinsights/bleauborger.js"></script> 12 13 <meta charset="utf-8"> 14 <meta name="viewport" content="width=device-width, initial-scale = 1.0"> 15 <meta name="google-site-verification" content="V3fEHGr3Eb00bLHm3OHAZ8D3vh-ZqHn0ioU_wxxNMGs"> 16 <meta name="pageID" content='@GetGlobalValue("Global:Page.ID")'> 17 18 @if (!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem"))) 19 { 20 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Editor_NewsItem"))).Name : "")'> 21 } 22 else if (!string.IsNullOrEmpty(GetString("Item.Page.Editor"))) 23 { 24 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Page.Editor")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Page.Editor"))).Name : "")'> 25 } 26 <title>@GetValue("Title")</title> 27 @GetValue("MetaTags") 28 @GetValue("CopyRightNotice") 29 30 @{ 31 var csslink = "/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/Subsites/Less/bleau-solutionset_" + @Pageview.Area.ID + ".min.css?ticks=" + @GetDate("DwPageUpdatedDate").Ticks; 32 } 33 @if (@Pageview.Area.ID == 1) 34 { 35 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bleau-styles.min.css?vs=12042021" media="screen"> 36 } 37 else 38 { 39 <link rel="stylesheet" href="@csslink" media="screen"> 40 } 41 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/print.min.css" media="print"> 42 <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> 43 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/svg-inject.min.js"></script> 44 <script type="text/javascript" src="//webkort.gladsaxe.dk/clientapi/minimap2/mmloader.js" charset="iso-8859-1"></script> 45 46 @RenderSnippet("StyleSheetHead") 47 @RenderSnippet("StyleSheet") 48 @RenderSnippet("standardModulesCSS") 49 50 @if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)"))) 51 { 52 <link href='@GetString("Item.Area.Custom_CSS_Url")' rel="stylesheet"> 53 } 54 55 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 56 { 57 <!-- Google Tag Manager --> 58 <script> 59 (function (w, d, s, l, i) { 60 w[l] = w[l] || []; w[l].push({ 61 'gtm.start': 62 new Date().getTime(), event: 'gtm.js' 63 }); var f = d.getElementsByTagName(s)[0], 64 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 65 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); 66 })(window, document, 'script', 'dataLayer', '@GetString("Item.Area.GTMID")');</script> 67 <!-- End Google Tag Manager --> 68 } 69 70 <link rel="shortcut icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Favicon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> 71 <link rel="apple-touch-icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Apple_touch_icon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> 72 73 <!-- www.Cludo.com search start CSS --> 74 <link href="//customer.cludo.com/assets/2539/11262/cludo-search.min.css" type="text/css" rel="stylesheet"> 75 <!-- www.Cludo.com search end CSS --> 76 77 @GetValue("Stylesheets") 78 @GetValue("Javascripts") 79 </head> 80 @{ 81 82 var bodyclass = ""; 83 string Cpage = GetString("DwPageName"); 84 85 if (Cpage.Contains("Forside")) 86 { 87 bodyclass = "frontpage "; 88 } 89 bodyclass += "purple"; 90 91 bodyclass = bodyclass.Trim(); 92 } 93 <body class="@bodyclass"> 94 95 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 96 { 97 <!-- Google Tag Manager (noscript) --> 98 <noscript><iframe src='https://www.googletagmanager.com/ns.html?id=@GetString("Item.Area.GTMID")' height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 99 <!-- End Google Tag Manager (noscript) --> 100 } 101 <div class="body-wrapper"> 102 103 @if (GetString("Item.Area.InformationsBanner.ActivateBanner") == "True") 104 { 105 <style> 106 .alert-warning{ 107 color: @GetString("Item.Area.InformationsBanner.TekstFarve"); 108 background-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 109 border-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 110 } 111 </style> 112 113 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.InformationsBanner.InfoLink"))) 114 { 115 <a href='@GetString("Item.Area.InformationsBanner.InfoLink")'> 116 <div class="alert alert-warning fade in myAlert"> 117 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 118 </div> 119 </a> 120 } 121 else 122 { 123 <div class="alert alert-warning fade in"> 124 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 125 </div> 126 } 127 } 128 129 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 130 @using Dynamicweb.Rendering; 131 @using System.Collections; 132 @using System.Globalization; 133 134 <header> 135 <a class="skip-main" role="navigation" aria-labelledby="Hovedindhold" href="#Hovedindhold">Skip til hoved indholdet</a> 136 <section class="service-navigation" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")' aria-label="service menu"> 137 <nav aria-label="Service menu"> 138 <ul class="container text-right hidden-print"> 139 @GetValue("DwNavigation(servicenavigation)") 140 <li class=""><a href="//www.adgangforalle.dk/" title="Audio" target="_blank" class="read-more-icon" rel="noreferrer">Læs op</a></li> 141 <li class=""><a href="javascript:void(0);" title="print" id="printicon" class="print-icon">Print</a></li> 142 </ul> 143 </nav> 144 </section> 145 <div class="navbar hidden-print" role="navigation" aria-label="Hoved menu" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")'> 146 <div class="container top-nav" id="nav-wrapper"> 147 <button class="navbar-toggle collapsed" aria-expanded="false" aria-label="Mobile Menu" data-target="#mobile-menu" data-toggle="collapse" type="button"> 148 </button> 149 <nav aria-label="Mobile Menu"> 150 @GetValue("DwNavigation(mobilemenu)") 151 </nav> 152 <div class="navbar-header col-xs-6 col-md-4"> 153 154 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsDesktop")) || !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsTablet"))) 155 { 156 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image"))) 157 { 158 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@GetString("Item.Area.NameOrganisation")'> 159 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 160 </a> 161 } 162 } 163 else 164 { 165 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.LogoMobile"))) 166 { 167 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@Translate("Sitename", "Bleauprint government")'> 168 <img src='@GetString("Item.Area.LogoMobile")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 169 </a> 170 } 171 else 172 { 173 <a class="navbar-brand logo-image" href="/" title=""></a> 174 } 175 } 176 </div> 177 178 <nav class="col-sm-5 col-md-7 nav-top hidden-print" aria-label="Desktop Menu"> 179 @GetValue("DwNavigation(menu)") 180 </nav><!-- /.nav-collapse --> 181 182 @inherits RazorTemplateBase< RazorTemplateModel < Template > > 183 @using Dynamicweb.Rendering 184 185 <div class="search-nav pull-right col-xs-5 col-md-1 search-navFull"> 186 <a href="" class="collapsed" title="Søg"></a> 187 </div> 188 <div id="search-boxTop" class="search-drop search-form"> 189 @SnippetStart("StyleSheetHead") 190 @if (@Pageview.Area.ID == 1) 191 { 192 <link type="text/css" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/weightedSearch.min.css" rel="stylesheet"> 193 } 194 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> 195 @SnippetEnd("StyleSheetHead") 196 197 @*<form action="/Default.aspx" accept-charset="utf-8" id="SearchFormTop"> 198 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 199 <div class="search-area"> 200 <input aria-label="Topmenu søge felt" id="searchSubmit" autocomplete="off" size="10" spellcheck="false" dir="ltr" class="search-input" placeholder='@Translate("search", "Skriv her hvad du s&oslash;ger...")' data-error='@Translate("searchText", "S&oslash;g p&aring; sitet")' type="text" name="q" value='@GetValue("DwSearchPhrase")'> 201 <input type="submit" value="Søg" class="search-button" title="Søg"> 202 </div> 203 </form>*@ 204 205 206 <form accept-charset="utf-8" id="SearchFormTop"> 207 <div class="search-area" id="CludoSearchFormTop" role="search"> 208 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 209 <input aria-label="Topmenu søge felt" id="searchSubmit" autocomplete="off" size="10" spellcheck="false" dir="ltr" class="search-input" placeholder='@Translate("search", "Skriv her hvad du s&oslash;ger...")' data-error='S&oslash;g p&aring; sitet' type="text" name="q" value=""> 210 <input type="submit" value="Søg" class="search-button" title="Søg"> 211 </div> 212 </form> 213 </div> 214 215 </div><!-- /.container --> 216 </div><!-- /.navbar --> 217 </header> 218 @SnippetStart("JavaScriptBottom") 219 <script src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/livesearch.js" type="text/javascript"></script> 220 @SnippetEnd("JavaScriptBottom") 221 222 <div class="navbar visible-print" role="banner"> 223 <div class="container top-nav"> 224 <div class="navbar-header col-xs-6 col-md-4"> 225 <div class="visible-print"> 226 <div class="navbar-brand"> 227 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image")) && !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsMobile"))) 228 { 229 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' aria-hidden="true" onload="SVGInject(this)"> 230 231 } 232 </div> 233 </div> 234 </div> 235 </div> 236 </div> 237 @{ 238 string Tpage = GetGlobalValue("Global:Pageview.LayoutTemplate"); 239 if (Tpage != ("frontpage.cshtml")) 240 { 241 <div class="selvbetjening-wrapper selvbetjening-mobil hidden-print" role="navigation" aria-label="selvbetjeningsmenu"> 242 <!-- WCAG ændring --> 243 244 <button class="selv-btn collapsed" aria-controls="Selvbetjeningsmenu" aria-expanded="false" id="selvbetjening-btn">@GetString("Item.Area.Tekster.Selvbetjening_Undersider")</button> 245 246 <div class="selvbetjening-links clearfix collapse dont-collapse-sm" id="Selvbetjeningsmenu"> 247 248 <!-- <ul class="dwnavigation" title="Selvbetjening" id="selfservice-green" data-settings="parenttag:Selvbetjening;endlevel:2;expandmode:Path;template:selfserviceNavigation.xslt;"></ul> --> 249 250 <ul title="Selvbetjening" id="selfservice-green"> 251 @{ 252 253 var entriesList = GetLoop("Item.Area.Entries_Item_List"); 254 255 foreach (var e in entriesList) 256 { 257 var title = e.GetString("Item.Area.Entries_Item_List.Title.Value"); 258 var type = e.GetString("Item.Area.Entries_Item_List.Type.Value"); 259 var href = e.GetString("Item.Area.Entries_Item_List.Link_Url.Value"); 260 261 <li> 262 <a href="@href" target="_self" title="@title" tabindex="-1"> 263 <img class="svg-inject" src="@type" alt="Ikon @title" onload="SVGInject(this)"> 264 @title 265 </a> 266 </li> 267 } 268 } 269 </ul> 270 271 </div> 272 </div> 273 } 274 275 } 276 <div id="Hovedindhold" role="main"> 277 278 279 @SnippetStart("StyleSheetHead") 280 <link rel="stylesheet" type="text/css" href="/Files/Templates/Designs/bleau-solutionset/assets/socicon/socicon.css" media="screen"> 281 @SnippetEnd("StyleSheetHead") 282 283 <!--Breadcrumb grey line--> 284 <div class="grey-box rightSidebar"> 285 <!--Breadcrumb--> 286 <div class="container rightSidebar-subpage hidden-print"> 287 <div class="breadcrumb text-right col-xs-12"> 288 <nav aria-label="Breadcrumb navigation"> 289 @GetValue("DwNavigation(Breadcrumb)") 290 </nav> 291 </div> 292 </div> 293 </div> 294 295 <!--Right Sidebar--> 296 <div class="rightSidebar"> 297 <div class="container rightSidebar-subpage"> 298 @{ 299 string dato = GetDate("Item.Date").ToString("d MMMM yyyy"); 300 } 301 302 <!--Page title Name--> 303 <div class="col-xs-12 col-sm-9 col-md-8 page-title"> 304 <h1 class="title" id="pageTitle">@GetValue("Item.PageName")</h1> 305 <p class="date-time hidden-print">Opdateret: @dato</p> 306 </div> 307 308 <!--Main content--> 309 <div class="col-xs-12 col-sm-8 main-content" id="leftColumn"> 310 @*@if (!string.IsNullOrWhiteSpace(GetString("Item.Image"))){<text> 311 <img src='/Admin/Public/GetImage.ashx?Image=@GetValue("Item.Image")&amp;Width=768&amp;Crop=5' alt='@GetValue("Item.PageName")'> 312 </text>}*@ 313 314 <p><strong>@GetValue("Item.News_Teaser_Text")</strong></p> 315 @GetValue("Item.Text") 316 317 @if (!string.IsNullOrWhiteSpace(GetString("Item.Read_More"))) 318 { 319 <a href='@GetValue("Item.Read_More")'>Læs mere</a> 320 } 321 </div> 322 323 @{ 324 string Archivedato = GetDate("Item.Date").ToString("d MMMM yyyy"); 325 } 326 <!--Right Sidebar--> 327 <div class="col-xs-12 col-sm-4 rightSidebar-content" id="rightColumn">@GetValue("DwContent(rightColumn)")</div> 328 <div class="section2"> 329 <!--Social icons--> 330 <div class="rightSidebar-content socialButtons" style="padding-bottom:25px;"> 331 <div class="social-box " id="SocialBoxTitles" title="Social Box Titles"> 332 <ul> 333 <li><a onclick='window.open(this.getAttribute("data-href"), "mywindow","menubar=1,resizable=1,width=350,height=250")' id="facebook-share" title="Del indholdet Facebook"><span class="socicon circle socicon-facebook"></span></a> 334 </li><li><a onclick='window.open(this.getAttribute("data-href"), "mywindow","menubar=1,resizable=1,width=350,height=250")' id="twitter-share" title="Del indholdet Twitter"><span class="socicon circle socicon-twitter"></span></a> 335 </li><li><a onclick='window.open(this.getAttribute("data-href"), "mywindow","menubar=1,resizable=1,width=350,height=250")' id="google-share" title="Del indholdet Google"><span class="socicon circle socicon-google"></span></a> 336 </li><li><a onclick='window.open(this.getAttribute("data-href"), "mywindow","menubar=1,resizable=1,width=350,height=250")' id="linkedin-share" title="Del indholdet LinkedIn"><span class="socicon circle socicon-linkedin"></span></a> 337 </li></ul> 338 </div> 339 <script> 340 $(document).ready(function () { 341 var n = encodeURIComponent(window.location.href), 342 f = window.location.pathname, 343 t = "https://www.facebook.com/sharer/sharer.php?u=" + n, 344 i = "https://twitter.com/home?status=" + n, 345 r = "https://plus.google.com/share?url=" + n, 346 u = "https://www.linkedin.com/shareArticle?mini=true&url=" + n + "&title=&summary=&source="; 347 $("#facebook-share").attr("data-href", t); 348 $("#twitter-share").attr("data-href", i); 349 $("#google-share").attr("data-href", r); 350 $("#linkedin-share").attr("data-href", u); 351 }); 352 </script> 353 </div> 354 </div> 355 </div> 356 </div> 357 358 <!--Purple & White Bottom Boxes--> 359 <div class="row full-width" id="bottom-row-fluid">@GetValue("DwContent(bottomrowfluid)")</div> 360 361 <!--Grey Box without custom mobile submenu--> 362 <div class="grey-box rightSidebar"> 363 <div class="container rightSidebar-subpage"> 364 </div> 365 </div> 366 367 </div> 368 369 </div> 370 <footer class="row"> 371 <section class="container footer-wrapper" aria-label="footer"> 372 <div class="row" id="footerSections" role="contentinfo"> 373 <div class="col-xs-12 col-sm-4 col-md-3 quick-links hidden-print"> 374 <h1>@GetString("Item.Area.Tekster.Kolonne_1")</h1> 375 @GetValue("DwNavigation(quicklinks)") 376 </div> 377 <div class="col-xs-12 col-sm-4 col-md-3 adress-box vcard"> 378 <span class="fn hidden"> 379 <span class="given-name">@GetString("Item.Area.NameOrganisation")</span> 380 <span class="additional-name"></span> 381 <span class="family-name"></span> 382 </span> 383 <div class="fn org"><h1>@GetString("Item.Area.Tekster.Kolonne_2")</h1></div> 384 <div class="adress"> 385 <div class="street-address">@GetString("Item.Area.StreetAddress")</div> 386 387 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PostalCode")) || !string.IsNullOrWhiteSpace(GetString("Item.Area.Lacation"))) 388 { 389 <div class="adr"><span class="postal-code">@GetString("Item.Area.PostalCode")</span> <span class="locality">@GetString("Item.Area.Lacation")</span></div> 390 } 391 392 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telefon"))) 393 { 394 <div>@Translate("Telefon", "Telefon"): <span class="tel">@GetString("Item.Area.Telefon")</span> </div> 395 } 396 397 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Fax"))) 398 { 399 <div class="tel"> <span class="type">@Translate("Fax", "Fax"): </span><span class="value">@GetString("Item.Area.Fax")</span> </div> 400 } 401 402 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.CVR"))) 403 { 404 <div class="tel"> <span class="type">@Translate("CVR", "CVR"): </span><span class="value">@GetString("Item.Area.CVR")</span> </div> 405 } 406 407 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Email"))) 408 { 409 <a class="email" href='mailto:@GetValue("Item.Area.Email")'>@GetValue("Item.Area.Email")</a> 410 } 411 </div> 412 </div> 413 <div class="col-xs-12 col-sm-4 col-md-3 col-md-offset-3 work-time oh-day" itemscope="" itemtype="http://schema.org/CivicStructure"> 414 <h1 itemprop="name">@GetString("Item.Area.Tekster.Kolonne_4")</h1> 415 <ul class="oh-highlight-day"> 416 @foreach (var item in GetLoop("Item.Area.OpeningHours")) 417 { 418 <li><meta itemprop="openingHours" content='@item.GetValue("Item.Area.OpeningHours.Days")-@item.GetValue("Item.Area.OpeningHours.OpenHour")'>@item.GetValue("Item.Area.OpeningHours.Days")<span>@item.GetValue("Item.Area.OpeningHours.OpenHour")</span></li> 419 420 } 421 </ul> 422 423 </div> 424 </div> 425 426 @if(GetString("DwAreaID") == "1") { 427 <div class="col-xs-12 col-sm-12 col-md-12 hidden-print" id="WebAccessibility"> 428 429 <h1>Webtilgængelighed</h1> 430 <ul> 431 <li class="col-xs-12 col-sm-6 col-md-3"> 432 <i class="fa fa-si fa-sign-language" aria-hidden="true"></i> 433 Adgang med tegn 434 <label class="switch" for="Switchbutton"> 435 <span class="sr-only">Tænd eller sluk for Adgang med tegn</span> 436 <input role="switch" aria-checked="false" name="tænd eller sluk for adgang med tegn" aria-label="tænd eller sluk for adgang med tegn" class="switchBtn" id="Switchbutton" type="checkbox" onclick="SignLanguageMark(null,'rgba(255,255,0,0.5)');"> 437 <span class="slider round"></span> 438 </label> 439 440 </li> 441 <li class="col-xs-12 col-sm-6 col-md-3"> 442 <a href="https://www.adgangforalle.dk/" target="_blank"><i class="fa fa-volume-up" aria-hidden="true"></i>Få teksten læst op</a> 443 </li> 444 445 @{ 446 447 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.WASpage_ID"))) { 448 449 int WASpage_ID = Convert.ToInt32(GetValue("Item.Area.WASpage_ID")); 450 string shortcut = Dynamicweb.Services.Pages.GetPage(WASpage_ID).ShortCut; 451 452 if (!string.IsNullOrWhiteSpace(shortcut)) 453 { 454 <li class="col-xs-12 col-sm-6 col-md-3"> 455 <a href="/was" target="_blank"><i class="fa fa-file-signature" aria-hidden="true"></i>Tilgængelighedserklæring</a> 456 </li> 457 } 458 459 } 460 } 461 <li class="col-xs-12 col-sm-6 col-md-3"> 462 <a href="/was-feedback"><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> 463 <!-- <a href='/was-feedback?wcag=@GetGlobalValue("Global:Pageview.Url")'><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> --> 464 </li> 465 </ul> 466 467 </div> 468 } 469 </section> 470 471 472 </footer> 473 474 <div class="bgr-opacity"></div> 475 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.dotdotdot.min.js"></script> 476 <!-- <script type="text/javascript" src="assets/javascripts/infinityScroll.min.js"></script> --> 477 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/vendor/bootstrap/js/bootstrap.min.js"></script> 478 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/main.min.js?vs=2"></script> 479 480 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Google_Analytics_ID"))) 481 { 482 <text> 483 <script> 484 var _gaq = [['_setAccount', '@GetValue("Item.Area.Google_Analytics_ID")'], ['_trackPageview']]; 485 (function(d, t) { 486 var g = d.createElement(t), 487 s = d.getElementsByTagName(t)[0]; 488 g.async = true; 489 g.src = '//www.google-analytics.com/ga.js'; 490 s.parentNode.insertBefore(g, s); 491 })(document, 'script'); 492 </script> 493 </text> 494 495 } 496 @RenderSnippet("JavaScriptBottom") 497 498 <!-- www.Cludo.com search start JS --> 499 <!--[if lte IE 9]> 500 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script> 501 <![endif]--> 502 <!-- www.Cludo.com search end JS --> 503 <!-- www.Cludo.com Search body init script start --> 504 <script type="text/javascript" src="//customer.cludo.com/scripts/bundles/search-script.min.js"></script> 505 <script> 506 var CludoSearch; 507 (function () { 508 var cludoSettings = { 509 customerId: 2539, 510 engineId: 11262, 511 searchUrl: "/kommunen/soegeresultat", 512 searchInputs: ["CludoSearchFormTop", "cludo-search-content-form", "SearchForm"], 513 initSearchBoxText: "", 514 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />", 515 endlessScroll: { stopAfterPage: 3, resultsPerPage: 10, bottomOffset: 700 } 516 }; 517 CludoSearch = new Cludo(cludoSettings); 518 CludoSearch.translateProvider.translations["da"]["backToTop"] = "<i class='fa fa-chevron-up'></i>"; 519 CludoSearch.translateProvider.translations["da"]["load_more"] = "Vis flere"; 520 CludoSearch.translateProvider.translations["da"]["your_search_on"] = "Søgningen "; 521 CludoSearch.init(); 522 })(); 523 </script> 524 <!-- www.Cludo.com Search body init script end --> 525 <!-- Dette script hører til Tilgængeligheds modulet. Adgang med tegn --> 526 <script data-consent="AdgangMedTegn"> 527 (function () { 528 var lwfile = 'cdhsign.dk/cdh_player.js'; 529 var lw = document.createElement('script'); 530 lw.type = 'text/javascript'; 531 lw.async = true; 532 lw.src = ('https:' == document.location.protocol ? 'https://' : 533 'http://') + lwfile; 534 var s = document.getElementsByTagName('script')[0]; 535 s.parentNode.insertBefore(lw, s); 536 }) 537 (); 538 539 window.getCookie = function (name) { 540 var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 541 if (match) return match[2]; 542 } 543 window.setCookie = function (name, value, days, path) { 544 var expires = ""; 545 if (days) { 546 var date = new Date(); 547 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 548 expires = "; expires=" + date.toUTCString(); 549 } 550 document.cookie = name + "=" + (value || "") + expires + "; path=" + path; 551 } 552 jQuery('#Switchbutton').prop('checked', window.getCookie("SignIsActive") === 'true'); 553 function toggleAccessWithSign() { 554 SignLanguageMark(null, 'rgba(255,255,0,0.5)'); 555 } 556 557 window.onbeforeunload = function () { 558 var isActive = window.getCookie("SignIsActive") === 'true'; 559 document.cookie = "SignIsActive=" + isActive + "; expires=Thu, 01 Jan 1970 00:00:00 UTC"; 560 document.cookie = "SignIsActive=" + isActive + "; path=/"; 561 console.log('unload'); 562 } 563 </script> 564 565 <!--Monsido--> 566 <script type="text/javascript"> 567 if (cookiecontrolfunctions.isThisCategorySet("Statistics")) { 568 569 window._monsido = window._monsido || { 570 token: "vULfAOisiOiu3u_embYVGw", 571 statistics: { 572 enabled: true, 573 documentTracking: { 574 enabled: true, 575 documentCls: "monsido_download", 576 documentIgnoreCls: "monsido_ignore_download", 577 documentExt: ["pdf", "doc", "ppt", "docx", "pptx"], 578 }, 579 }, 580 heatmap: { 581 enabled: true, 582 }, 583 pageCorrect: { 584 enabled: true, 585 }, 586 }; 587 588 } 589 </script> 590 <script type="text/javascript" async="" src="https://app-script.monsido.com/v2/monsido-script.js"></script> 591 592 <!--Kari chat robot 593 <script type="text/javascript" data-kommune=gladsaxe src="https://prokomresources.prokomcdn.no/client-grunt/bot/kari.js"></script> --> 594 595 </body> 596 </html>