2017-03-29 21:59:51 +08:00
|
|
|
<ol class="breadcrumb breadcrumb-teams" data-hook="breadcrumb-teams">
|
2017-02-09 21:33:12 +08:00
|
|
|
<% if action_name == "index" %>
|
2017-01-25 19:01:23 +08:00
|
|
|
<li class="active">
|
|
|
|
<%= t("users.settings.teams.breadcrumbs.all") %>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<li>
|
|
|
|
<%= link_to t("users.settings.teams.breadcrumbs.all"), teams_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
|
2017-02-09 21:33:12 +08:00
|
|
|
<% if action_name == 'show' %>
|
2017-01-25 19:01:23 +08:00
|
|
|
<li class="active">
|
|
|
|
<%= @team.name %>
|
|
|
|
</li>
|
2017-02-09 21:33:12 +08:00
|
|
|
<% elsif action_name == 'new' || action_name == 'create' %>
|
2017-01-25 19:01:23 +08:00
|
|
|
<li class="active">
|
|
|
|
<%= t('users.settings.teams.breadcrumbs.new_team') %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ol>
|