mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Merge pull request #1212 from okriuchykhin/ok_SCI_2377
Add hooks to new report modal [SCI-2377]
This commit is contained in:
commit
801d0a4a22
1 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkbox-tree">
|
<div class="checkbox-tree">
|
||||||
<ul>
|
<ul data-hook="module-content-list">
|
||||||
<li>
|
<li>
|
||||||
<%= form.check_box :module_all, label: t("projects.reports.elements.modals.module_contents_inner.check_all") %>
|
<%= form.check_box :module_all, label: t("projects.reports.elements.modals.module_contents_inner.check_all") %>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -35,8 +35,7 @@
|
||||||
<% if my_module_undefined or (my_module.results.select { |r| r.active? }).exists? %>
|
<% if my_module_undefined or (my_module.results.select { |r| r.active? }).exists? %>
|
||||||
<li>
|
<li>
|
||||||
<%= form.check_box :module_results, label: t("projects.reports.elements.modals.module_contents_inner.results") %>
|
<%= form.check_box :module_results, label: t("projects.reports.elements.modals.module_contents_inner.results") %>
|
||||||
<ul>
|
<ul data-hook="result-types-list">
|
||||||
|
|
||||||
<% if my_module_undefined or (my_module.results.select { |r| r.is_asset && r.active? }).exists? %>
|
<% if my_module_undefined or (my_module.results.select { |r| r.is_asset && r.active? }).exists? %>
|
||||||
<li>
|
<li>
|
||||||
<%= form.check_box :module_result_assets, label: t("projects.reports.elements.modals.module_contents_inner.result_assets") %>
|
<%= form.check_box :module_result_assets, label: t("projects.reports.elements.modals.module_contents_inner.result_assets") %>
|
||||||
|
|
Loading…
Reference in a new issue