mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
3700faa04a
[SCI-5208]
15 lines
613 B
Text
15 lines
613 B
Text
<% target_folder ||= @current_folder %>
|
|
<div class="projects-breadcrumbs">
|
|
<%= link_to(t('projects.index.breadcrumbs_root'),
|
|
projects_path,
|
|
class: 'project-folder-link',
|
|
data: { projects_cards_url: cards_projects_url }) %>
|
|
<span>/</span>
|
|
<% target_folder&.parent_folders&.each do |project_folder| %>
|
|
<%= link_to(project_folder.name,
|
|
project_folder_path(project_folder),
|
|
class: 'project-folder-link',
|
|
data: { projects_cards_url: project_folder_cards_url(project_folder) }) %>
|
|
<span>/</span>
|
|
<% end %>
|
|
</div>
|