2021-04-06 21:27:12 +08:00
|
|
|
<div class="project-contents-container">
|
|
|
|
<div class="header">
|
|
|
|
<div class="title">
|
2021-04-07 18:03:52 +08:00
|
|
|
<%= t("projects.reports.wizard.second_step.select_project_content") %>
|
2021-04-06 21:27:12 +08:00
|
|
|
</div>
|
|
|
|
<div class="collapse-buttons sci-btn-group">
|
|
|
|
<button class="btn btn-light collapse-all">
|
2023-06-08 14:33:37 +08:00
|
|
|
<i class="sn-icon sn-icon-open-show"></i>
|
2021-04-07 18:03:52 +08:00
|
|
|
<%= t("projects.reports.wizard.second_step.collapse_all") %>
|
2021-04-06 21:27:12 +08:00
|
|
|
</button>
|
|
|
|
<button class="btn btn-light expand-all">
|
2023-06-09 00:12:28 +08:00
|
|
|
<i class="sn-icon sn-icon-down"></i>
|
2021-04-07 18:03:52 +08:00
|
|
|
<%= t("projects.reports.wizard.second_step.expand_all") %>
|
2021-04-06 21:27:12 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="hide-unchecked">
|
|
|
|
<span class="sci-checkbox-container">
|
|
|
|
<input type="checkbox" class="sci-checkbox hide-unchecked-checkbox" />
|
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</span>
|
2021-04-07 18:03:52 +08:00
|
|
|
<%= t("projects.reports.wizard.second_step.hide_unchecked") %>
|
2021-04-06 21:27:12 +08:00
|
|
|
</div>
|
|
|
|
<div class="select-all-my-modules">
|
|
|
|
<span class="sci-checkbox-container">
|
2021-04-08 23:40:16 +08:00
|
|
|
<input type="checkbox" class="sci-checkbox select-all-my-modules-checkbox" <%= 'checked' if report.settings.dig(:all_tasks) %>/>
|
2021-04-06 21:27:12 +08:00
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</span>
|
2021-04-07 18:03:52 +08:00
|
|
|
<%= t("projects.reports.wizard.second_step.select_all_tasks") %>
|
2021-04-06 21:27:12 +08:00
|
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
2021-04-20 19:35:40 +08:00
|
|
|
<div class="project-contents" data-project-id="<%= report.project&.id %>" data-project-content-url="<%= project_contents_reports_path %>">
|
2021-04-13 20:10:52 +08:00
|
|
|
<% if report.id %>
|
|
|
|
<%= render partial: 'reports/wizard/project_contents.html.erb',
|
|
|
|
locals: { project: report.project, report: report } %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2021-04-06 21:27:12 +08:00
|
|
|
</div>
|