init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@model MvcSiteMapProvider.Web.Html.Models.SiteMapTitleHelperModel
|
||||
@using Kreta.BusinessLogic.Utils
|
||||
|
||||
@if (Model.CurrentNode != null) {
|
||||
int? resourceId = Model.CurrentNode.Attributes.ContainsKey("resourceId") ? Convert.ToInt32(Model.CurrentNode.Attributes["resourceId"]) : new int?();
|
||||
if (resourceId.HasValue)
|
||||
{
|
||||
<text>
|
||||
@StringResourcesUtils.GetString(resourceId.Value)
|
||||
</text>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user