mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
13 lines
473 B
Text
13 lines
473 B
Text
<div class="ga-breadcrumb">
|
|
<span class="fas fa-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>
|