<div class="panel-sidebar">
    <div class="panel-title">
        <div class="title-bar">
            <h2>项目信息</h2>
        </div>
    </div>
    <div class="scrollbar-auto">
        <div class="nav-box">
            <ul class="nav-list list-unstyled">
                <% if (projectData.user_account === ctx.session.sessionUser.account) { %>
                <% for (const index in ctx.subMenu) { %>
                <li <% if (ctx.url === ctx.subMenu[index].url) { %>class="active"<% } %>>
                    <a href="<%- ctx.subMenu[index].url %>">
                        <span><%- ctx.subMenu[index].caption %></span>
                    </a>
                </li>
                <% } %>
                <% } else { %>
                <li <% if (ctx.url === ctx.subMenu.info.url) { %>class="active"<% } %>>
                    <a href="<%- ctx.subMenu.info.url %>">
                        <span><%- ctx.subMenu.info.caption %></span>
                    </a>
                </li>
                <% } %>
            </ul>
        </div>
    </div>
</div>
