mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-11 06:35:58 +08:00
Add I18n for reports wizard second step [SCI-5572]
This commit is contained in:
parent
e6edbf55f3
commit
14f8e97b5f
4 changed files with 12 additions and 8 deletions
|
|
@ -1026,7 +1026,7 @@ function reportHandsonTableConverter() {
|
|||
}
|
||||
|
||||
$('.reports-new').on('change', '.report-experiment-checkbox', function() {
|
||||
$(this).closest('li').find('.report-my-module-checkbox').prop('checked', this.checked)
|
||||
$(this).closest('li').find('.report-my-module-checkbox').prop('checked', this.checked);
|
||||
selectAllState();
|
||||
hideUnchekedElements($('.hide-unchecked-checkbox').prop('checked'));
|
||||
})
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
<%= render partial: 'reports/wizard/first_step' %>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="new-report-step-2" data-project-content-url="<%= project_contents_reports_path %>">
|
||||
Step 2
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="new-report-step-3">
|
||||
<%= render partial: 'reports/wizard/third_step' %>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
<div class="project-contents-container">
|
||||
<div class="header">
|
||||
<div class="title">
|
||||
Select and reorder experiments and tasks
|
||||
<%= t("projects.reports.wizard.second_step.select_project_content") %>
|
||||
</div>
|
||||
<div class="collapse-buttons sci-btn-group">
|
||||
<button class="btn btn-light collapse-all">
|
||||
<i class="fas fa-caret-up"></i>
|
||||
Collapse all
|
||||
<%= t("projects.reports.wizard.second_step.collapse_all") %>
|
||||
</button>
|
||||
<button class="btn btn-light expand-all">
|
||||
<i class="fas fa-caret-down"></i>
|
||||
Expand all
|
||||
<%= t("projects.reports.wizard.second_step.expand_all") %>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -19,14 +19,14 @@
|
|||
<input type="checkbox" class="sci-checkbox hide-unchecked-checkbox" />
|
||||
<span class="sci-checkbox-label"></span>
|
||||
</span>
|
||||
Hide unchecked
|
||||
<%= t("projects.reports.wizard.second_step.hide_unchecked") %>
|
||||
</div>
|
||||
<div class="select-all-my-modules">
|
||||
<span class="sci-checkbox-container">
|
||||
<input type="checkbox" class="sci-checkbox select-all-my-modules-checkbox" checked/>
|
||||
<span class="sci-checkbox-label"></span>
|
||||
</span>
|
||||
Select all tasks
|
||||
<%= t("projects.reports.wizard.second_step.select_all_tasks") %>
|
||||
</div>
|
||||
<div class="divider"></div>
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -536,6 +536,12 @@ en:
|
|||
footer: "Footer"
|
||||
no_values_title: "No additional data requiered"
|
||||
no_values_description: "SciNote template doesn’t need any additional input for it to be succesfully generated."
|
||||
second_step:
|
||||
select_project_content: "Select and reorder experiments and tasks"
|
||||
collapse_all: "Collapse all"
|
||||
expand_all: "Expand all"
|
||||
hide_unchecked: "Hide unchecked"
|
||||
select_all_tasks: "Select all tasks"
|
||||
third_step:
|
||||
title: "Select task contents"
|
||||
select_all: "Select all content"
|
||||
|
|
@ -568,7 +574,6 @@ en:
|
|||
report_name_placeholder: "Name your report"
|
||||
continue_button: "Continue"
|
||||
generate_button: "Start generating"
|
||||
|
||||
head_title: "%{project} | New report"
|
||||
nav_title: "Report for: "
|
||||
nav_print: "Print"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue