2020-12-14 22:54:18 +08:00
|
|
|
<div class="card folder-card" data-id="<%= folder.id %>" data-edit-url="<%= edit_project_folder_path(folder) %>">
|
2020-11-03 15:07:17 +08:00
|
|
|
<div class="checkbox-cell">
|
|
|
|
<div class="sci-checkbox-container">
|
2020-11-13 21:39:10 +08:00
|
|
|
<input value="1" type="checkbox" class="sci-checkbox folder-card-selector">
|
2020-11-03 15:07:17 +08:00
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="icon-folder">
|
|
|
|
<i class="fas fa-folder"></i>
|
|
|
|
</div>
|
2021-01-04 18:53:25 +08:00
|
|
|
<div class="name" title="<%= folder.name %>">
|
2020-11-24 22:42:06 +08:00
|
|
|
<%= link_to(folder.name,
|
|
|
|
project_folder_path(folder),
|
|
|
|
class: 'project-folder-link',
|
2020-12-08 23:07:26 +08:00
|
|
|
data: { projects_cards_url: project_folder_cards_url(folder),
|
|
|
|
sidebar_url: sidebar_team_path(current_team, project_folder_id: folder.id),
|
|
|
|
}) %>
|
2020-11-03 15:07:17 +08:00
|
|
|
</div>
|
|
|
|
<div class="description">
|
2020-11-09 23:16:09 +08:00
|
|
|
<%= t('projects.index.folder.description', projects_count: folder.projects_count, folders_count: folder.folders_count) %>
|
2020-11-03 15:07:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|