@using SmartStore.Core.Domain.Stores; @using SmartStore.Services.Customers; @using SmartStore.Services.Stores; @{ var currentCustomer = this.WorkContext.CurrentCustomer; var currentLanguage = this.WorkContext.WorkingLanguage; var userName = (string)ViewBag.UserName; var stores = (IList)ViewBag.Stores; string currentLanguageCode = currentLanguage.UniqueSeoCode.EmptyNull().ToLower(); string communityUrl = (currentLanguageCode == "de" ? "http://community.smartstore.com" : "http://community.smartstore.com/index.php?/&k=880ea6a14ea49e853634fbdc5015a024&setlanguage=1&cal_id=&langid=1"); string docsUrl = "http://docs.smartstore.com/display/SMNET25/SmartStore.NET+Documentation+Home"; var checkUpdateResult = ViewBag.CheckUpdateResult as CheckUpdateResult; }