scinote-web/app/views/global_activities/references/_team.html.erb

14 lines
482 B
Text
Raw Normal View History

2019-03-25 16:39:17 +08:00
<div class="ga-breadcrumb">
2023-06-08 14:33:37 +08:00
<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>