mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
22 lines
958 B
Text
22 lines
958 B
Text
<div class="card folder-card" data-id="<%= folder.id %>" data-edit-url="<%= edit_project_folder_path(folder) %>">
|
|
<div class="checkbox-cell">
|
|
<div class="sci-checkbox-container">
|
|
<input value="1" type="checkbox" class="sci-checkbox folder-card-selector">
|
|
<span class="sci-checkbox-label"></span>
|
|
</div>
|
|
</div>
|
|
<div class="icon-folder">
|
|
<i class="fas fa-folder"></i>
|
|
</div>
|
|
<div class="name" title="<%= folder.name %>">
|
|
<%= link_to(folder.name,
|
|
project_folder_path(folder),
|
|
class: 'project-folder-link',
|
|
data: { projects_cards_url: project_folder_cards_url(folder),
|
|
sidebar_url: sidebar_team_path(current_team, project_folder_id: folder.id),
|
|
}) %>
|
|
</div>
|
|
<div class="description">
|
|
<%= t('projects.index.folder.description', projects_count: folder.projects_count, folders_count: folder.folders_count) %>
|
|
</div>
|
|
</div>
|