Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

638 B
Raw Blame
@model KnowledgebaseCategoryModel

<ul class="sublist">
    @if (Model.IsCurrent)
    {
        <li class="active last">
            <a href="@Url.RouteUrl("KnowledgebaseCategory", new { Model.SeName })">
                <strong>@Model.Name</strong>
            </a>
            @foreach (var category in Model.Children)
            {
                <partial name="Partials/KnowledgebaseCategoryLine.Navigation" model="category"/>
            }
        </li>
    }
    else
    {
        <li class="inactive">
            <a href="@Url.RouteUrl("KnowledgebaseCategory", new { Model.SeName })">@Model.Name</a>
        </li>
    }
</ul>