Får du ikke allerede vores nyhedsmail, kan du tilmelde dig her.
17-05-2024 Sanktioner mod Rusland: Krav om 'no re-export'-klausul i aftalegrundlag med parter i tredjelande Du skal være opmærksom på, at der siden den 20. marts har været krav om, at der ved eksport til parter i tredjelande skal fremgå en klausul i aftalegrundlaget med modparten, der forbyder reeksport af visse produkter til Rusland eller til brug i Rusland.
Af klausulen skal også fremgå, at overtrædelse af klausulen har konsekvenser for modparten. Læs mere på Erhvervsstyrelsens hjemmeside her |
Tilbage |
Exception in template (Designs\Paragraph\KontaktboxDobbel.cshtml): System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at CompiledRazorTemplates.Dynamic.bcdcbeacafeb.Execute() at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context) at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName) at Dynamicweb.Rendering.Template.Output()
@{ var newsid = Dynamicweb.Input.Request("NewsId"); var initialer = ""; var contactFound = false; var image = ""; var imagetext = ""; var header = ""; var id = GetValue("ParagraphID"); var text = ""; var intro = ""; var link = ""; var isMobile = GetGlobalValue("Global:Device.IsMobile"); Dynamicweb.Content.Paragraph paragraph = null; if (!string.IsNullOrEmpty(newsid)) { var newsPage = Dynamicweb.Content.Page.GetPageBySql("SELECT * FROM Page p INNER JOIN ItemType_News_Custom n ON n.Id = p.PageItemId WHERE (n.NewsID = '" + newsid + "' OR p.PageID = '" + newsid + "') ORDER BY n.NewsID DESC"); if (newsPage != null) { var newsPageItem = Dynamicweb.Content.Items.Item.GetItemById(newsPage.ItemType, newsPage.ItemId); if (newsPageItem != null && newsPageItem.ContainsKey("Initials")) { initialer = Convert.ToString(newsPageItem["Initials"]); } } } if (!string.IsNullOrEmpty(initialer)) { paragraph = Dynamicweb.Content.Paragraph.GetParagraphsBySql("SELECT * FROM Paragraph WHERE ParagraphImageMouseOver like '%" + initialer + "@danskeadvokater.dk%' AND ParagraphPageID = '18897'").SingleOrDefault(); } if (paragraph != null) { image = "/Files/Billeder/" + paragraph.Image; header = paragraph.Header; intro = paragraph.ImageMouseOver; link = paragraph.ImageUrl; text = paragraph.Text; imagetext = paragraph.ImageCaption; } else { image = GetString("ParagraphImageClean"); header = GetString("ParagraphHeader"); intro = GetString("ParagraphImageLinkAlt"); link = GetString("ParagraphImageLinkClean"); text = GetString("ParagraphText"); imagetext = GetString("ParagraphImageText"); } } <!--Personal info(Vcard)--> <div class="personalinfo doppio"> @if (!string.IsNullOrWhiteSpace(image)) { <img src="@image" alt="@header" /> } <div class="vcard" id="vcard_@id"> @intro <br /><a href="@link" title="@link"><span id="mailto">@link</span></a> </div> </div> <script>$(document).ready(function(){vcard(@id);});</script> <!--PersonalProfil--> <div class="personprofil @initialer"> <h3>Kontakt</h3> @text <a title="Læs mere" class="doppio viewmoretoggle_personprofil" href="javascript:void(0);">Læs mere…</a> <div class="contacttel"> <p class="tel doppio"> @if (!string.IsNullOrEmpty(isMobile)) { <a href="tel:@imagetext"> @imagetext </a> } else { @imagetext } </p> </div> </div>