mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
19 lines
566 B
Text
19 lines
566 B
Text
<ol class="breadcrumb breadcrumb-teams" data-hook="breadcrumb-teams">
|
|
<% if action_name == "index" %>
|
|
<li class="active">
|
|
<%= t("users.settings.teams.breadcrumbs.all") %>
|
|
</li>
|
|
<% else %>
|
|
<li>
|
|
<%= link_to t("users.settings.teams.breadcrumbs.all"), teams_path %>
|
|
</li>
|
|
<% end %>
|
|
|
|
<% if action_name == 'show' %>
|
|
<li class="active"><%= @team.name %></li>
|
|
<% elsif action_name == 'new' || action_name == 'create' %>
|
|
<li class="active">
|
|
<%= t('users.settings.teams.breadcrumbs.new_team') %>
|
|
</li>
|
|
<% end %>
|
|
</ol>
|