cartodb/lib/assets/javascripts/dashboard/components/dashboard-header/breadcrumbs/dropdown.tpl

21 lines
1.3 KiB
Smarty
Raw Normal View History

2020-06-15 10:58:47 +08:00
<ul class="BreadcrumbsDropdown-list CDB-Text CDB-Size-medium">
<li class="BreadcrumbsDropdown-listItem">
<span class="BreadcrumbsDropdown-icon u-rSpace--xl">
<img class="UserAvatar-img UserAvatar-img--small" src="<%- avatarUrl %>" title="<%- userName %>" alt="<%- userName %>" />
</span>
<nav class="BreadcrumbsDropdown-options">
<a href="<%- mapsUrl %>" class="BreadcrumbsDropdown-optionsItem <%- isMaps && !isDeepInsights && !isLocked ? 'is-selected' : '' %>">Your maps</a>
<a href="<%- datasetsUrl %>" class="BreadcrumbsDropdown-optionsItem has-margin <%- isDatasets && !isLocked ? 'is-selected' : '' %>">Your datasets</a>
</nav>
</li>
<li class="BreadcrumbsDropdown-listItem is-dark u-flex">
<span class="BreadcrumbsDropdown-lockIcon BreadcrumbsDropdown-icon u-flex u-alignCenter u-justifyCenter u-rSpace--xl">
<i class="CDB-IconFont CDB-IconFont-lock"></i>
</span>
<nav class="BreadcrumbsDropdown-options">
<a href="<%- lockedMapsUrl %>" class="BreadcrumbsDropdown-optionsItem <%- isMaps && isLocked ? 'is-selected' : '' %>">Your locked maps</a>
<a href="<%- lockedDatasetsUrl %>" class="BreadcrumbsDropdown-optionsItem has-margin <%- isDatasets && isLocked ? 'is-selected' : '' %>">Your locked datasets</a>
</nav>
</li>
</ul>