mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-05 23:17:33 +08:00
21 lines
578 B
Text
21 lines
578 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>
|