<div class="panel-sidebar">
    <div class="panel-title">
        <div class="title-bar">
            <h2 class="text-truncate" data-toggle="tooltip" data-placement="right" title=""  data-original-title="<%- tender.name %>"><%- tender.name %></h2>
        </div>
    </div>
    <div class="scrollbar-auto">
        <% for (const m in tenderMenu) { %>
        <div class="nav-box">
            <% const menu = tenderMenu[m]; %>
            <% if (menu.display) { %>
            <h3><%- menu.icon %><%- menu.name %></h3>
            <% } %>
            <% if (menu.children && menu.children.length > 0) { %>
            <ul class="nav-list list-unstyled <% if (menu.display) { %>sub-list<% } %>">
                <% for (const mc of menu.children) { %>
                <li <% if (ctx.url === preUrl + mc.url) { %>class="active"<% } %>>
                    <a href="<%- (mc.fixedUrl ? mc.url : preUrl + mc.url) %>"><%- mc.icon %><span <%- mc.class%>><%- mc.name %></span></a>
                </li>
                <% } %>
            </ul>
            <% } %>
        </div>
        <% } %>
    </div>
</div>