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

14 lines
486 B
Plaintext
Raw Normal View History

2019-03-25 16:39:17 +08:00
<div class="ga-breadcrumb">
<span class="fas fa-users"></span>
<% if subject %>
<%= route_to_other_team projects_path(team: subject.id),
subject,
subject.name&.truncate(Constants::NAME_TRUNCATION_LENGTH),
title: subject.name %>
<% else %>
<span title="<%= breadcrumbs[:team] %>">
2019-03-19 21:12:39 +08:00
<%= breadcrumbs[:team]&.truncate(Constants::NAME_TRUNCATION_LENGTH) %>
</span>
<% end %>
</div>