Error executing template "Designs/bleau-solutionset/_parsed/5th-level-subpage.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_6cc5f46cb80c47ea8a67ce24d783867e.Execute() in D:\Dynamicweb.Net\www.gladsaxe.dk (DW9.x)\Files\Templates\Designs\bleau-solutionset\_parsed\4th-level-subpage.parsed.cshtml:line 37
   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 <script type="text/javascript"> 9 !function (T, l, y) { var S = T.location, u = "script", k = "instrumentationKey", D = "ingestionendpoint", C = "disableExceptionTracking", E = "ai.device.", I = "toLowerCase", b = "crossOrigin", w = "POST", e = "appInsightsSDK", t = y.name || "appInsights"; (y.name || T[e]) && (T[e] = t); var n = T[t] || function (d) { var g = !1, f = !1, m = { initialize: !0, queue: [], sv: "4", version: 2, config: d }; function v(e, t) { var n = {}, a = "Browser"; return n[E + "id"] = a[I](), n[E + "type"] = a, n["ai.operation.name"] = S && S.pathname || "_unknown_", n["ai.internal.sdkVersion"] = "javascript:snippet_" + (m.sv || m.version), { time: function () { var e = new Date; function t(e) { var t = "" + e; return 1 === t.length && (t = "0" + t), t } return e.getUTCFullYear() + "-" + t(1 + e.getUTCMonth()) + "-" + t(e.getUTCDate()) + "T" + t(e.getUTCHours()) + ":" + t(e.getUTCMinutes()) + ":" + t(e.getUTCSeconds()) + "." + ((e.getUTCMilliseconds() / 1e3).toFixed(3) + "").slice(2, 5) + "Z" }(), iKey: e, name: "Microsoft.ApplicationInsights." + e.replace(/-/g, "") + "." + t, sampleRate: 100, tags: n, data: { baseData: { ver: 2 } } } } var h = d.url || y.src; if (h) { function a(e) { var t, n, a, i, r, o, s, c, p, l, u; g = !0, m.queue = [], f || (f = !0, t = h, s = function () { var e = {}, t = d.connectionString; if (t) for (var n = t.split(";"), a = 0; a < n.length; a++) { var i = n[a].split("="); 2 === i.length && (e[i[0][I]()] = i[1]) } if (!e[D]) { var r = e.endpointsuffix, o = r ? e.location : null; e[D] = "https://" + (o ? o + "." : "") + "dc." + (r || "services.visualstudio.com") } return e }(), c = s[k] || d[k] || "", p = s[D], l = p ? p + "/v2/track" : config.endpointUrl, (u = []).push((n = "SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)", a = t, i = l, (o = (r = v(c, "Exception")).data).baseType = "ExceptionData", o.baseData.exceptions = [{ typeName: "SDKLoadFailed", message: n.replace(/\./g, "-"), hasFullStack: !1, stack: n + "\nSnippet failed to load [" + a + "] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: " + (S && S.pathname || "_unknown_") + "\nEndpoint: " + i, parsedStack: [] }], r)), u.push(function (e, t, n, a) { var i = v(c, "Message"), r = i.data; r.baseType = "MessageData"; var o = r.baseData; return o.message = 'AI (Internal): 99 message:"' + ("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (" + n + ")").replace(/\"/g, "") + '"', o.properties = { endpoint: a }, i }(0, 0, t, l)), function (e, t) { if (JSON) { var n = T.fetch; if (n && !y.useXhr) n(t, { method: w, body: JSON.stringify(e), mode: "cors" }); else if (XMLHttpRequest) { var a = new XMLHttpRequest; a.open(w, t), a.setRequestHeader("Content-type", "application/json"), a.send(JSON.stringify(e)) } } }(u, l)) } function i(e, t) { f || setTimeout(function () { !t && m.core || a() }, 500) } var e = function () { var n = l.createElement(u); n.src = h; var e = y[b]; return !e && "" !== e || "undefined" == n[b] || (n[b] = e), n.onload = i, n.onerror = a, n.onreadystatechange = function (e, t) { "loaded" !== n.readyState && "complete" !== n.readyState || i(0, t) }, n }(); y.ld < 0 ? l.getElementsByTagName("head")[0].appendChild(e) : setTimeout(function () { l.getElementsByTagName(u)[0].parentNode.appendChild(e) }, y.ld || 0) } try { m.cookie = l.cookie } catch (p) { } function t(e) { for (; e.length;)!function (t) { m[t] = function () { var e = arguments; g || m.queue.push(function () { m[t].apply(m, e) }) } }(e.pop()) } var n = "track", r = "TrackPage", o = "TrackEvent"; t([n + "Event", n + "PageView", n + "Exception", n + "Trace", n + "DependencyData", n + "Metric", n + "PageViewPerformance", "start" + r, "stop" + r, "start" + o, "stop" + o, "addTelemetryInitializer", "setAuthenticatedUserContext", "clearAuthenticatedUserContext", "flush"]), m.SeverityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }; var s = (d.extensionConfig || {}).ApplicationInsightsAnalytics || {}; if (!0 !== d[C] && !0 !== s[C]) { method = "onerror", t(["_" + method]); var c = T[method]; T[method] = function (e, t, n, a, i) { var r = c && c(e, t, n, a, i); return !0 !== r && m["_" + method]({ message: e, url: t, lineNumber: n, columnNumber: a, error: i }), r }, d.autoExceptionInstrumented = !0 } return m }(y.cfg); (T[t] = n).queue && 0 === n.queue.length && n.trackPageView({}) }(window, document, { 10 src: "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js", // The SDK URL Source 11 //name: "appInsights", // Global SDK Instance name defaults to "appInsights" when not supplied 12 //ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout, 13 //useXhr: 1, // Use XHR instead of fetch to report failures (if available), 14 //crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag 15 cfg: { // Application Insights Configuration 16 instrumentationKey: "5b8602f4-7263-41f7-b005-6c42db042759", 17 name: "BleauBorgerGladsaxe", 18 isCookieUseDisabled: "true" 19 /* ...Other Configuration Options... */ 20 } 21 }); 22 </script> 23 24 <script src="https://cookiecontrol.bleau.dk/scripts/cookieconsent.js"></script> 25 <script id="cookiecontrolfunctions" src="https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js" data-cname="Gladsaxe" data-defaultset="dwdefault"></script> 26 27 <meta charset="utf-8"> 28 <meta name="viewport" content="width=device-width, initial-scale = 1.0"> 29 <meta name="google-site-verification" content="V3fEHGr3Eb00bLHm3OHAZ8D3vh-ZqHn0ioU_wxxNMGs"> 30 <meta name="pageID" content='@GetGlobalValue("Global:Page.ID")'> 31 32 @if (!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem"))) 33 { 34 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Editor_NewsItem"))).Name : "")'> 35 } 36 else if (!string.IsNullOrEmpty(GetString("Item.Page.Editor"))) 37 { 38 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Page.Editor")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Page.Editor"))).Name : "")'> 39 } 40 <title>@GetValue("Title")</title> 41 @GetValue("MetaTags") 42 @GetValue("CopyRightNotice") 43 44 @{ 45 var csslink = "/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/Subsites/Less/bleau-solutionset_" + @Pageview.Area.ID + ".min.css?ticks=" + @GetDate("DwPageUpdatedDate").Ticks; 46 } 47 @if (@Pageview.Area.ID == 1) 48 { 49 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bleau-styles.min.css?vs=12042021" media="screen"> 50 } 51 else 52 { 53 <link rel="stylesheet" href="@csslink" media="screen"> 54 } 55 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/print.min.css" media="print"> 56 <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> 57 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/svg-inject.min.js"></script> 58 <script type="text/javascript" src="//webkort.gladsaxe.dk/clientapi/minimap2/mmloader.js" charset="iso-8859-1"></script> 59 60 @RenderSnippet("StyleSheetHead") 61 @RenderSnippet("StyleSheet") 62 @RenderSnippet("standardModulesCSS") 63 64 @if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)"))) 65 { 66 <link href='@GetString("Item.Area.Custom_CSS_Url")' rel="stylesheet"> 67 } 68 69 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 70 { 71 <!-- Google Tag Manager --> 72 <script> 73 (function (w, d, s, l, i) { 74 w[l] = w[l] || []; w[l].push({ 75 'gtm.start': 76 new Date().getTime(), event: 'gtm.js' 77 }); var f = d.getElementsByTagName(s)[0], 78 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 79 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); 80 })(window, document, 'script', 'dataLayer', '@GetString("Item.Area.GTMID")');</script> 81 <!-- End Google Tag Manager --> 82 } 83 84 <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'> 85 <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'> 86 87 <!-- www.Cludo.com search start CSS --> 88 <link href="//customer.cludo.com/assets/2539/11262/cludo-search.min.css" type="text/css" rel="stylesheet"> 89 <!-- www.Cludo.com search end CSS --> 90 91 @GetValue("Stylesheets") 92 @GetValue("Javascripts") 93 </head> 94 @{ 95 96 var bodyclass = ""; 97 string Cpage = GetString("DwPageName"); 98 99 if (Cpage.Contains("Forside")) 100 { 101 bodyclass = "frontpage "; 102 } 103 bodyclass += "purple"; 104 105 bodyclass = bodyclass.Trim(); 106 } 107 <body class="@bodyclass"> 108 109 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 110 { 111 <!-- Google Tag Manager (noscript) --> 112 <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> 113 <!-- End Google Tag Manager (noscript) --> 114 } 115 <div class="body-wrapper"> 116 117 @if (GetString("Item.Area.InformationsBanner.ActivateBanner") == "True") 118 { 119 <style> 120 .alert-warning{ 121 color: @GetString("Item.Area.InformationsBanner.TekstFarve"); 122 background-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 123 border-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 124 } 125 </style> 126 127 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.InformationsBanner.InfoLink"))) 128 { 129 <a href='@GetString("Item.Area.InformationsBanner.InfoLink")'> 130 <div class="alert alert-warning fade in myAlert"> 131 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 132 </div> 133 </a> 134 } 135 else 136 { 137 <div class="alert alert-warning fade in"> 138 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 139 </div> 140 } 141 } 142 143 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 144 @using Dynamicweb.Rendering; 145 @using System.Collections; 146 @using System.Globalization; 147 148 <header> 149 <a class="skip-main" role="navigation" aria-labelledby="Hovedindhold" href="#Hovedindhold">Skip til hoved indholdet</a> 150 <section class="service-navigation" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")' aria-label="service menu"> 151 <nav aria-label="Service menu"> 152 <ul class="container text-right hidden-print"> 153 @GetValue("DwNavigation(servicenavigation)") 154 <li class=""><a href="//www.adgangforalle.dk/" title="Audio" target="_blank" class="read-more-icon" rel="noreferrer">Læs op</a></li> 155 <li class=""><a href="javascript:void(0);" title="print" id="printicon" class="print-icon">Print</a></li> 156 </ul> 157 </nav> 158 </section> 159 <div class="navbar hidden-print" role="navigation" aria-label="Hoved menu" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")'> 160 <div class="container top-nav" id="nav-wrapper"> 161 <button class="navbar-toggle collapsed" aria-expanded="false" aria-label="Mobile Menu" data-target="#mobile-menu" data-toggle="collapse" type="button"> 162 </button> 163 <nav aria-label="Mobile Menu"> 164 @GetValue("DwNavigation(mobilemenu)") 165 </nav> 166 <div class="navbar-header col-xs-6 col-md-4"> 167 168 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsDesktop")) || !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsTablet"))) 169 { 170 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image"))) 171 { 172 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@GetString("Item.Area.NameOrganisation")'> 173 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 174 </a> 175 } 176 } 177 else 178 { 179 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.LogoMobile"))) 180 { 181 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@Translate("Sitename", "Bleauprint government")'> 182 <img src='@GetString("Item.Area.LogoMobile")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 183 </a> 184 } 185 else 186 { 187 <a class="navbar-brand logo-image" href="/" title=""></a> 188 } 189 } 190 </div> 191 192 <nav class="col-sm-5 col-md-7 nav-top hidden-print" aria-label="Desktop Menu"> 193 @GetValue("DwNavigation(menu)") 194 </nav><!-- /.nav-collapse --> 195 196 @inherits RazorTemplateBase< RazorTemplateModel < Template > > 197 @using Dynamicweb.Rendering 198 199 <div class="search-nav pull-right col-xs-5 col-md-1 search-navFull"> 200 <a href="" class="collapsed" title="Søg"></a> 201 </div> 202 <div id="search-boxTop" class="search-drop search-form"> 203 @SnippetStart("StyleSheetHead") 204 @if (@Pageview.Area.ID == 1) 205 { 206 <link type="text/css" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/weightedSearch.min.css" rel="stylesheet"> 207 } 208 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> 209 @SnippetEnd("StyleSheetHead") 210 211 @*<form action="/Default.aspx" accept-charset="utf-8" id="SearchFormTop"> 212 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 213 <div class="search-area"> 214 <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")'> 215 <input type="submit" value="Søg" class="search-button" title="Søg"> 216 </div> 217 </form>*@ 218 219 220 <form accept-charset="utf-8" id="SearchFormTop"> 221 <div class="search-area" id="CludoSearchFormTop" role="search"> 222 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 223 <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=""> 224 <input type="submit" value="Søg" class="search-button" title="Søg"> 225 </div> 226 </form> 227 </div> 228 229 </div><!-- /.container --> 230 </div><!-- /.navbar --> 231 </header> 232 @SnippetStart("JavaScriptBottom") 233 <script src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/livesearch.js" type="text/javascript"></script> 234 @SnippetEnd("JavaScriptBottom") 235 236 <div class="navbar visible-print" role="banner"> 237 <div class="container top-nav"> 238 <div class="navbar-header col-xs-6 col-md-4"> 239 <div class="visible-print"> 240 <div class="navbar-brand"> 241 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image")) && !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsMobile"))) 242 { 243 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' aria-hidden="true" onload="SVGInject(this)"> 244 245 } 246 </div> 247 </div> 248 </div> 249 </div> 250 </div> 251 @{ 252 string Tpage = GetGlobalValue("Global:Pageview.LayoutTemplate"); 253 if (Tpage != ("frontpage.cshtml")) 254 { 255 <div class="selvbetjening-wrapper selvbetjening-mobil hidden-print" role="navigation" aria-label="selvbetjeningsmenu"> 256 <!-- WCAG ændring --> 257 258 <button class="selv-btn collapsed" aria-controls="Selvbetjeningsmenu" aria-expanded="false" id="selvbetjening-btn">@GetString("Item.Area.Tekster.Selvbetjening_Undersider")</button> 259 260 <div class="selvbetjening-links clearfix collapse dont-collapse-sm" id="Selvbetjeningsmenu"> 261 262 <!-- <ul class="dwnavigation" title="Selvbetjening" id="selfservice-green" data-settings="parenttag:Selvbetjening;endlevel:2;expandmode:Path;template:selfserviceNavigation.xslt;"></ul> --> 263 264 <ul title="Selvbetjening" id="selfservice-green"> 265 @{ 266 267 var entriesList = GetLoop("Item.Area.Entries_Item_List"); 268 269 foreach (var e in entriesList) 270 { 271 var title = e.GetString("Item.Area.Entries_Item_List.Title.Value"); 272 var type = e.GetString("Item.Area.Entries_Item_List.Type.Value"); 273 var href = e.GetString("Item.Area.Entries_Item_List.Link_Url.Value"); 274 275 <li> 276 <a href="@href" target="_self" title="@title" tabindex="-1"> 277 <img class="svg-inject" src="@type" alt="Ikon @title" onload="SVGInject(this)"> 278 @title 279 </a> 280 </li> 281 } 282 } 283 </ul> 284 285 </div> 286 </div> 287 } 288 289 } 290 <div id="Hovedindhold" role="main"> 291 292 293 <div class="row grey-box"> 294 <div class="container nav-3rd-level"> 295 <div class="back narrow text-left"> 296 <h2 class="title"> 297 @GetValue("DwPageName") 298 </h2> 299 </div> 300 </div> 301 <div class="container nav-3rd-level hidden-print"> 302 <!--Breadcrumb--> 303 <div class="breadcrumb narrow text-right col-xs-12"> 304 <nav aria-label="Breadcrumb navigation"> 305 @GetValue("DwNavigation(Breadcrumb)") 306 </nav> 307 </div> 308 </div> 309 <div class="container nav-3rd-level clearfix"> 310 @GetValue("DwNavigation(3rdlevel)") 311 </div> 312 <div class="row full-width" id="contact">@GetValue("DwContent(contact)")</div> 313 314 <!--Contacts area--> 315 <div class="leftSidebar purple-box"> 316 <div class="container leftSidebar-subpage"> 317 <div class="col-xs-12 col-sm-12"> 318 <!--div class="dwcontent" title="Kontakter (flere) BRUG IKKE" id="TEST" settings="template:ContactNarrow.cshtml;"></div--> 319 <div id="more_contacts">@GetValue("DwContent(morecontacts)")</div> 320 </div> 321 </div> 322 </div> 323 324 </div> 325 326 </div> 327 328 </div> 329 <footer class="row"> 330 <section class="container footer-wrapper" aria-label="footer"> 331 <div class="row" id="footerSections" role="contentinfo"> 332 <div class="col-xs-12 col-sm-4 col-md-3 quick-links hidden-print"> 333 <h1>@GetString("Item.Area.Tekster.Kolonne_1")</h1> 334 @GetValue("DwNavigation(quicklinks)") 335 </div> 336 <div class="col-xs-12 col-sm-4 col-md-3 adress-box vcard"> 337 <span class="fn hidden"> 338 <span class="given-name">@GetString("Item.Area.NameOrganisation")</span> 339 <span class="additional-name"></span> 340 <span class="family-name"></span> 341 </span> 342 <div class="fn org"><h1>@GetString("Item.Area.Tekster.Kolonne_2")</h1></div> 343 <div class="adress"> 344 <div class="street-address">@GetString("Item.Area.StreetAddress")</div> 345 346 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PostalCode")) || !string.IsNullOrWhiteSpace(GetString("Item.Area.Lacation"))) 347 { 348 <div class="adr"><span class="postal-code">@GetString("Item.Area.PostalCode")</span> <span class="locality">@GetString("Item.Area.Lacation")</span></div> 349 } 350 351 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telefon"))) 352 { 353 <div>@Translate("Telefon", "Telefon"): <span class="tel">@GetString("Item.Area.Telefon")</span> </div> 354 } 355 356 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Fax"))) 357 { 358 <div class="tel"> <span class="type">@Translate("Fax", "Fax"): </span><span class="value">@GetString("Item.Area.Fax")</span> </div> 359 } 360 361 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.CVR"))) 362 { 363 <div class="tel"> <span class="type">@Translate("CVR", "CVR"): </span><span class="value">@GetString("Item.Area.CVR")</span> </div> 364 } 365 366 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Email"))) 367 { 368 <a class="email" href='mailto:@GetValue("Item.Area.Email")'>@GetValue("Item.Area.Email")</a> 369 } 370 </div> 371 </div> 372 <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"> 373 <h1 itemprop="name">@GetString("Item.Area.Tekster.Kolonne_4")</h1> 374 <ul class="oh-highlight-day"> 375 @foreach (var item in GetLoop("Item.Area.OpeningHours")) 376 { 377 <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> 378 379 } 380 </ul> 381 382 </div> 383 </div> 384 385 @if(GetString("DwAreaID") == "1") { 386 <div class="col-xs-12 col-sm-12 col-md-12 hidden-print" id="WebAccessibility"> 387 388 <h1>Webtilgængelighed</h1> 389 <ul> 390 <li class="col-xs-12 col-sm-6 col-md-3"> 391 <i class="fa fa-si fa-sign-language" aria-hidden="true"></i> 392 Adgang med tegn 393 <label class="switch" for="Switchbutton"> 394 <span class="sr-only">Tænd eller sluk for Adgang med tegn</span> 395 <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)');"> 396 <span class="slider round"></span> 397 </label> 398 399 </li> 400 <li class="col-xs-12 col-sm-6 col-md-3"> 401 <a href="https://www.adgangforalle.dk/" target="_blank"><i class="fa fa-volume-up" aria-hidden="true"></i>Få teksten læst op</a> 402 </li> 403 404 @{ 405 406 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.WASpage_ID"))) { 407 408 int WASpage_ID = Convert.ToInt32(GetValue("Item.Area.WASpage_ID")); 409 string shortcut = Dynamicweb.Services.Pages.GetPage(WASpage_ID).ShortCut; 410 411 if (!string.IsNullOrWhiteSpace(shortcut)) 412 { 413 <li class="col-xs-12 col-sm-6 col-md-3"> 414 <a href="/was" target="_blank"><i class="fa fa-file-signature" aria-hidden="true"></i>Tilgængelighedserklæring</a> 415 </li> 416 } 417 418 } 419 } 420 <li class="col-xs-12 col-sm-6 col-md-3"> 421 <a href="/was-feedback"><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> 422 <!-- <a href='/was-feedback?wcag=@GetGlobalValue("Global:Pageview.Url")'><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> --> 423 </li> 424 </ul> 425 426 </div> 427 } 428 </section> 429 430 431 </footer> 432 433 <div class="bgr-opacity"></div> 434 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.dotdotdot.min.js"></script> 435 <!-- <script type="text/javascript" src="assets/javascripts/infinityScroll.min.js"></script> --> 436 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/vendor/bootstrap/js/bootstrap.min.js"></script> 437 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/main.min.js?vs=2"></script> 438 439 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Google_Analytics_ID"))) 440 { 441 <text> 442 <script> 443 var _gaq = [['_setAccount', '@GetValue("Item.Area.Google_Analytics_ID")'], ['_trackPageview']]; 444 (function(d, t) { 445 var g = d.createElement(t), 446 s = d.getElementsByTagName(t)[0]; 447 g.async = true; 448 g.src = '//www.google-analytics.com/ga.js'; 449 s.parentNode.insertBefore(g, s); 450 })(document, 'script'); 451 </script> 452 </text> 453 454 } 455 @RenderSnippet("JavaScriptBottom") 456 457 <!-- www.Cludo.com search start JS --> 458 <!--[if lte IE 9]> 459 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script> 460 <![endif]--> 461 <!-- www.Cludo.com search end JS --> 462 <!-- www.Cludo.com Search body init script start --> 463 <script type="text/javascript" src="//customer.cludo.com/scripts/bundles/search-script.min.js"></script> 464 <script> 465 var CludoSearch; 466 (function () { 467 var cludoSettings = { 468 customerId: 2539, 469 engineId: 11262, 470 searchUrl: "/kommunen/soegeresultat", 471 searchInputs: ["CludoSearchFormTop", "cludo-search-content-form", "SearchForm"], 472 initSearchBoxText: "", 473 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />", 474 endlessScroll: { stopAfterPage: 3, resultsPerPage: 10, bottomOffset: 700 } 475 }; 476 CludoSearch = new Cludo(cludoSettings); 477 CludoSearch.translateProvider.translations["da"]["backToTop"] = "<i class='fa fa-chevron-up'></i>"; 478 CludoSearch.translateProvider.translations["da"]["load_more"] = "Vis flere"; 479 CludoSearch.translateProvider.translations["da"]["your_search_on"] = "Søgningen "; 480 CludoSearch.init(); 481 })(); 482 </script> 483 <!-- www.Cludo.com Search body init script end --> 484 485 <!-- Dette script hører til Tilgængeligheds modulet. Adgang med tegn --> 486 <script data-consent="AdgangMedTegn"> 487 (function () { 488 var lwfile = 'cdhsign.dk/cdh_player.js'; 489 var lw = document.createElement('script'); 490 lw.type = 'text/javascript'; 491 lw.async = true; 492 lw.src = ('https:' == document.location.protocol ? 'https://' : 493 'http://') + lwfile; 494 var s = document.getElementsByTagName('script')[0]; 495 s.parentNode.insertBefore(lw, s); 496 }) 497 (); 498 499 window.getCookie = function (name) { 500 var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 501 if (match) return match[2]; 502 } 503 window.setCookie = function (name, value, days, path) { 504 var expires = ""; 505 if (days) { 506 var date = new Date(); 507 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 508 expires = "; expires=" + date.toUTCString(); 509 } 510 document.cookie = name + "=" + (value || "") + expires + "; path=" + path; 511 } 512 jQuery('#Switchbutton').prop('checked', window.getCookie("SignIsActive") === 'true'); 513 function toggleAccessWithSign() { 514 SignLanguageMark(null, 'rgba(255,255,0,0.5)'); 515 } 516 517 window.onbeforeunload = function () { 518 var isActive = window.getCookie("SignIsActive") === 'true'; 519 document.cookie = "SignIsActive=" + isActive + "; expires=Thu, 01 Jan 1970 00:00:00 UTC"; 520 document.cookie = "SignIsActive=" + isActive + "; path=/"; 521 console.log('unload'); 522 } 523 </script> 524 525 <!--Siteimprove--> 526 <script type="text/javascript"> 527 /*<![CDATA[*/ 528 (function() { 529 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; 530 sz.src = '//siteimproveanalytics.com/js/siteanalyze_239454.js'; 531 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); 532 })(); 533 /*]]>*/ 534 </script> 535 536 <!--Monsido--> 537 <script type="text/javascript"> 538 if(cookiecontrolfunctions.isThisCategorySet("Statistics")){ 539 540 window._monsido = window._monsido || { 541 token: "vULfAOisiOiu3u_embYVGw", 542 statistics: { 543 enabled: true, 544 documentTracking: { 545 enabled: true, 546 documentCls: "monsido_download", 547 documentIgnoreCls: "monsido_ignore_download", 548 documentExt: ["pdf","doc","ppt","docx","pptx"], 549 }, 550 }, 551 heatmap: { 552 enabled: true, 553 }, 554 pageCorrect: { 555 enabled: true, 556 }, 557 }; 558 559 } 560 </script> 561 <script type="text/javascript" async="" src="https://app-script.monsido.com/v2/monsido-script.js"></script> 562 563 <!--Kari chat robot--> 564 <script type="text/javascript" data-kommune="gladsaxe" src="https://prokomresources.prokomcdn.no/client-grunt/bot/kari.js"></script> 565 566 </body> 567 </html>