Error executing template "Designs/bleau-solutionset/_parsed/left-nav-subpage.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_92265c72f9be439faaf992f4d6f45c49.Execute() in D:\Dynamicweb.Net\www.gladsaxe.dk (DW9.x)\Files\Templates\Designs\bleau-solutionset\_parsed\left-nav-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 294 <!--Breadcrumb grey line--> 295 <div class="grey-box leftSidebar"> 296 297 <!--Breadcrumb--> 298 <div class="container leftSidebar-subpage hidden-print"> 299 <div class="breadcrumb text-right col-xs-12"> 300 <nav aria-label="Breadcrumb navigation"> 301 @GetValue("DwNavigation(Breadcrumb)") 302 </nav> 303 </div> 304 </div> 305 </div> 306 307 <!--Left Sidebar--> 308 <div class="leftSidebar"> 309 <div class="container leftSidebar-subpage"> 310 311 <!--Left Sidebar menu--> 312 <div class="col-xs-12 col-sm-4 submenu-list hidden-xs hidden-print" id="leftMenu" role="navigation" aria-label="Venstre undermenu"> 313 @GetValue("DwNavigation(leftnav)") 314 </div> 315 <div class="col-xs-12 col-sm-8 page-title"> 316 <h1 class="title" id="pageTitle">@GetString("DwPageName")</h1> 317 <section aria-label="hoved indhold"> 318 <div class="main-content" id="rightColumn">@GetValue("DwContent(rightColumn)")</div> 319 </section> 320 </div> 321 </div> 322 </div> 323 324 <!--Purple & White Bottom Boxes--> 325 326 327 <!--Contacts area--> 328 <div class="leftSidebar purple-box"> 329 <div class="container leftSidebar-subpage"> 330 <div class="col-xs-12 col-sm-8 col-md-offset-4 col-sm-offset-4"> 331 <!--div class="dwcontent" title="Kontakter (flere) BRUG IKKE" id="TEST" settings="template:ContactNarrow.cshtml;"></div--> 332 <div id="more_contacts">@GetValue("DwContent(morecontacts)")</div> 333 </div> 334 </div> 335 </div> 336 </div> 337 338 <!--@Full width--> 339 <div class="row full-width" id="bottom-row-fluid">@GetValue("DwContent(bottomrowfluid)")</div> 340 341 342 <!--Grey Box with custom mobile submenu--> 343 <div class="grey-box leftSidebar hidden-print"> 344 <div class="container leftSidebar-subpage"> 345 <div class="col-xs-12 hidden-sm hidden-md hidden-lg clearfix mobile-submenu" id="GreyBox"> 346 @GetValue("Include(navigation/MobileSubmenu.cshtml)") 347 </div> 348 </div> 349 </div> 350 </div> 351 352 353 <footer class="row"> 354 <section class="container footer-wrapper" aria-label="footer"> 355 <div class="row" id="footerSections" role="contentinfo"> 356 <div class="col-xs-12 col-sm-4 col-md-3 quick-links hidden-print"> 357 <h1>@GetString("Item.Area.Tekster.Kolonne_1")</h1> 358 @GetValue("DwNavigation(quicklinks)") 359 </div> 360 <div class="col-xs-12 col-sm-4 col-md-3 adress-box vcard"> 361 <span class="fn hidden"> 362 <span class="given-name">@GetString("Item.Area.NameOrganisation")</span> 363 <span class="additional-name"></span> 364 <span class="family-name"></span> 365 </span> 366 <div class="fn org"><h1>@GetString("Item.Area.Tekster.Kolonne_2")</h1></div> 367 <div class="adress"> 368 <div class="street-address">@GetString("Item.Area.StreetAddress")</div> 369 370 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PostalCode")) || !string.IsNullOrWhiteSpace(GetString("Item.Area.Lacation"))) 371 { 372 <div class="adr"><span class="postal-code">@GetString("Item.Area.PostalCode")</span> <span class="locality">@GetString("Item.Area.Lacation")</span></div> 373 } 374 375 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telefon"))) 376 { 377 <div>@Translate("Telefon", "Telefon"): <span class="tel">@GetString("Item.Area.Telefon")</span> </div> 378 } 379 380 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Fax"))) 381 { 382 <div class="tel"> <span class="type">@Translate("Fax", "Fax"): </span><span class="value">@GetString("Item.Area.Fax")</span> </div> 383 } 384 385 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.CVR"))) 386 { 387 <div class="tel"> <span class="type">@Translate("CVR", "CVR"): </span><span class="value">@GetString("Item.Area.CVR")</span> </div> 388 } 389 390 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Email"))) 391 { 392 <a class="email" href='mailto:@GetValue("Item.Area.Email")'>@GetValue("Item.Area.Email")</a> 393 } 394 </div> 395 </div> 396 <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"> 397 <h1 itemprop="name">@GetString("Item.Area.Tekster.Kolonne_4")</h1> 398 <ul class="oh-highlight-day"> 399 @foreach (var item in GetLoop("Item.Area.OpeningHours")) 400 { 401 <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> 402 403 } 404 </ul> 405 406 </div> 407 </div> 408 409 @if(GetString("DwAreaID") == "1") { 410 <div class="col-xs-12 col-sm-12 col-md-12 hidden-print" id="WebAccessibility"> 411 412 <h1>Webtilgængelighed</h1> 413 <ul> 414 <li class="col-xs-12 col-sm-6 col-md-3"> 415 <i class="fa fa-si fa-sign-language" aria-hidden="true"></i> 416 Adgang med tegn 417 <label class="switch" for="Switchbutton"> 418 <span class="sr-only">Tænd eller sluk for Adgang med tegn</span> 419 <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)');"> 420 <span class="slider round"></span> 421 </label> 422 423 </li> 424 <li class="col-xs-12 col-sm-6 col-md-3"> 425 <a href="https://www.adgangforalle.dk/" target="_blank"><i class="fa fa-volume-up" aria-hidden="true"></i>Få teksten læst op</a> 426 </li> 427 428 @{ 429 430 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.WASpage_ID"))) { 431 432 int WASpage_ID = Convert.ToInt32(GetValue("Item.Area.WASpage_ID")); 433 string shortcut = Dynamicweb.Services.Pages.GetPage(WASpage_ID).ShortCut; 434 435 if (!string.IsNullOrWhiteSpace(shortcut)) 436 { 437 <li class="col-xs-12 col-sm-6 col-md-3"> 438 <a href="/was" target="_blank"><i class="fa fa-file-signature" aria-hidden="true"></i>Tilgængelighedserklæring</a> 439 </li> 440 } 441 442 } 443 } 444 <li class="col-xs-12 col-sm-6 col-md-3"> 445 <a href="/was-feedback"><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> 446 <!-- <a href='/was-feedback?wcag=@GetGlobalValue("Global:Pageview.Url")'><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> --> 447 </li> 448 </ul> 449 450 </div> 451 } 452 </section> 453 454 455 </footer> 456 457 <div class="bgr-opacity"></div> 458 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.dotdotdot.min.js"></script> 459 <!-- <script type="text/javascript" src="assets/javascripts/infinityScroll.min.js"></script> --> 460 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/vendor/bootstrap/js/bootstrap.min.js"></script> 461 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/main.min.js?vs=2"></script> 462 463 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Google_Analytics_ID"))) 464 { 465 <text> 466 <script> 467 var _gaq = [['_setAccount', '@GetValue("Item.Area.Google_Analytics_ID")'], ['_trackPageview']]; 468 (function(d, t) { 469 var g = d.createElement(t), 470 s = d.getElementsByTagName(t)[0]; 471 g.async = true; 472 g.src = '//www.google-analytics.com/ga.js'; 473 s.parentNode.insertBefore(g, s); 474 })(document, 'script'); 475 </script> 476 </text> 477 478 } 479 @RenderSnippet("JavaScriptBottom") 480 481 <!-- www.Cludo.com search start JS --> 482 <!--[if lte IE 9]> 483 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script> 484 <![endif]--> 485 <!-- www.Cludo.com search end JS --> 486 <!-- www.Cludo.com Search body init script start --> 487 <script type="text/javascript" src="//customer.cludo.com/scripts/bundles/search-script.min.js"></script> 488 <script> 489 var CludoSearch; 490 (function () { 491 var cludoSettings = { 492 customerId: 2539, 493 engineId: 11262, 494 searchUrl: "/kommunen/soegeresultat", 495 searchInputs: ["CludoSearchFormTop", "cludo-search-content-form", "SearchForm"], 496 initSearchBoxText: "", 497 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />", 498 endlessScroll: { stopAfterPage: 3, resultsPerPage: 10, bottomOffset: 700 } 499 }; 500 CludoSearch = new Cludo(cludoSettings); 501 CludoSearch.translateProvider.translations["da"]["backToTop"] = "<i class='fa fa-chevron-up'></i>"; 502 CludoSearch.translateProvider.translations["da"]["load_more"] = "Vis flere"; 503 CludoSearch.translateProvider.translations["da"]["your_search_on"] = "Søgningen "; 504 CludoSearch.init(); 505 })(); 506 </script> 507 <!-- www.Cludo.com Search body init script end --> 508 509 <!-- Dette script hører til Tilgængeligheds modulet. Adgang med tegn --> 510 <script data-consent="AdgangMedTegn"> 511 (function () { 512 var lwfile = 'cdhsign.dk/cdh_player.js'; 513 var lw = document.createElement('script'); 514 lw.type = 'text/javascript'; 515 lw.async = true; 516 lw.src = ('https:' == document.location.protocol ? 'https://' : 517 'http://') + lwfile; 518 var s = document.getElementsByTagName('script')[0]; 519 s.parentNode.insertBefore(lw, s); 520 }) 521 (); 522 523 window.getCookie = function (name) { 524 var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 525 if (match) return match[2]; 526 } 527 window.setCookie = function (name, value, days, path) { 528 var expires = ""; 529 if (days) { 530 var date = new Date(); 531 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 532 expires = "; expires=" + date.toUTCString(); 533 } 534 document.cookie = name + "=" + (value || "") + expires + "; path=" + path; 535 } 536 jQuery('#Switchbutton').prop('checked', window.getCookie("SignIsActive") === 'true'); 537 function toggleAccessWithSign() { 538 SignLanguageMark(null, 'rgba(255,255,0,0.5)'); 539 } 540 541 window.onbeforeunload = function () { 542 var isActive = window.getCookie("SignIsActive") === 'true'; 543 document.cookie = "SignIsActive=" + isActive + "; expires=Thu, 01 Jan 1970 00:00:00 UTC"; 544 document.cookie = "SignIsActive=" + isActive + "; path=/"; 545 console.log('unload'); 546 } 547 </script> 548 549 <!--Siteimprove--> 550 <script type="text/javascript"> 551 /*<![CDATA[*/ 552 (function() { 553 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; 554 sz.src = '//siteimproveanalytics.com/js/siteanalyze_239454.js'; 555 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); 556 })(); 557 /*]]>*/ 558 </script> 559 560 <!--Monsido--> 561 <script type="text/javascript"> 562 if(cookiecontrolfunctions.isThisCategorySet("Statistics")){ 563 564 window._monsido = window._monsido || { 565 token: "vULfAOisiOiu3u_embYVGw", 566 statistics: { 567 enabled: true, 568 documentTracking: { 569 enabled: true, 570 documentCls: "monsido_download", 571 documentIgnoreCls: "monsido_ignore_download", 572 documentExt: ["pdf","doc","ppt","docx","pptx"], 573 }, 574 }, 575 heatmap: { 576 enabled: true, 577 }, 578 pageCorrect: { 579 enabled: true, 580 }, 581 }; 582 583 } 584 </script> 585 <script type="text/javascript" async="" src="https://app-script.monsido.com/v2/monsido-script.js"></script> 586 587 <!--Kari chat robot--> 588 <script type="text/javascript" data-kommune="gladsaxe" src="https://prokomresources.prokomcdn.no/client-grunt/bot/kari.js"></script> 589 590 </body> 591 </html>