2019-12-01 03:04:28 +08:00
|
|
|
<% provide(:head_title, t("projects.index.head_title")) %>
|
2020-03-13 22:04:56 +08:00
|
|
|
|
2018-05-25 23:14:22 +08:00
|
|
|
<% if current_team %>
|
2020-10-30 20:37:59 +08:00
|
|
|
<%= render partial: "shared/sidebar", locals: { page: 'project' } %>
|
2020-11-24 22:42:06 +08:00
|
|
|
<% content_for :breadcrumbs do %>
|
|
|
|
<%= render partial: "projects/index/breadcrumbs" if @current_folder %>
|
|
|
|
<% end %>
|
2018-05-25 23:14:22 +08:00
|
|
|
<%= render partial: "shared/secondary_navigation" %>
|
2020-03-13 22:04:56 +08:00
|
|
|
<span style="display: none;" data-hook="projects-index-html"></span>
|
|
|
|
|
2020-10-26 20:42:32 +08:00
|
|
|
<%= render partial: 'projects/index/modals/new' %>
|
|
|
|
<%= render partial: 'projects/index/modals/edit' %>
|
|
|
|
<%= render partial: 'projects/index/modals/manage_users' %>
|
|
|
|
<%= render partial: 'projects/index/modals/export_projects' %>
|
2018-11-14 18:33:27 +08:00
|
|
|
|
2020-11-03 15:07:17 +08:00
|
|
|
<div class="projects-container">
|
2020-11-06 20:56:21 +08:00
|
|
|
<%= render partial: 'projects/index/toolbar' %>
|
2020-11-24 22:42:06 +08:00
|
|
|
<div class="cards-wrapper" id="cards-wrapper" data-projects-cards-url="<%= @current_folder ? project_folder_cards_url(@current_folder) : cards_projects_url %>">
|
2020-11-03 15:07:17 +08:00
|
|
|
<div class="table-header">
|
|
|
|
<div class="table-header-cell select-all-checkboxes">
|
|
|
|
<div class="sci-checkbox-container">
|
|
|
|
<input value="1" type="checkbox" class="sci-checkbox select-all">
|
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</div>
|
2018-10-01 21:39:42 +08:00
|
|
|
</div>
|
2020-11-03 15:07:17 +08:00
|
|
|
<div class="table-header-cell"><%= t('.card.name') %></div>
|
|
|
|
<div class="table-header-cell"><%= t('.card.start_date') %></div>
|
|
|
|
<div class="table-header-cell"><%= t('.card.visibility') %></div>
|
|
|
|
<div class="table-header-cell"><%= t('.card.users') %></div>
|
|
|
|
<div class="table-header-cell"></div>
|
2018-09-27 16:43:44 +08:00
|
|
|
</div>
|
2018-10-24 09:34:13 +08:00
|
|
|
</div>
|
2018-05-25 23:14:22 +08:00
|
|
|
</div>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% end %>
|
2018-05-08 22:33:42 +08:00
|
|
|
|
2018-07-19 23:56:42 +08:00
|
|
|
<%= javascript_include_tag "projects/index" %>
|