cartodb-4.42/lib/assets/javascripts/cartodb/common/views/pages_subheader.jst.ejs

14 lines
950 B
Plaintext
Raw Normal View History

2024-04-06 13:25:13 +08:00
<div class="SideMenu-type">
<ul class="SideMenu-list">
<li class="SideMenu-typeItem"><a href="<%= profileUrl %>" class="SideMenu-typeLink <% if (path === profileUrl) { %>is-selected<% } %>">Profile</a></li>
<li class="SideMenu-typeItem"><a href="<%= accountUrl %>" class="SideMenu-typeLink <% if (path === accountUrl) { %>is-selected<% } %>">Account</a></li>
<li class="SideMenu-typeItem"><a href="<%= apiKeysUrl %>" class="SideMenu-typeLink <% if (path === apiKeysUrl) { %>is-selected<% } %>">API keys</a></li>
<% if (!cdb.config.get("cartodb_com_hosted") && !isInsideOrg) { %>
<li class="SideMenu-typeItem"><a href="<%= planUrl %>" class="SideMenu-typeLink">Billing</a></li>
<% } %>
<% if (isOrgAdmin) { %>
<li class="SideMenu-typeItem"><a href="<%= organizationUrl %>" class="SideMenu-typeLink <% if (path === organizationUrl) { %>is-selected<% } %>">Organization settings</a></li>
<% } %>
</ul>
</div>