mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
13 lines
482 B
Text
13 lines
482 B
Text
<div class="ga-breadcrumb">
|
|
<span class="sn-icon sn-icon-users"></span>
|
|
<% if team %>
|
|
<%= route_to_other_team projects_path(team: team.id),
|
|
team,
|
|
team.name&.truncate(Constants::NAME_TRUNCATION_LENGTH),
|
|
title: team.name %>
|
|
<% else %>
|
|
<span title="<%= breadcrumbs['team'] %>">
|
|
<%= breadcrumbs['team']&.truncate(Constants::NAME_TRUNCATION_LENGTH) %>
|
|
</span>
|
|
<% end %>
|
|
</div>
|