mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
b1f9e7f1ca
* Fix global activities jsonb field * Fix tests
13 lines
488 B
Text
13 lines
488 B
Text
<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'] %>">
|
|
<%= breadcrumbs['team']&.truncate(Constants::NAME_TRUNCATION_LENGTH) %>
|
|
</span>
|
|
<% end %>
|
|
</div>
|