Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KG - Max Subject Count "Apply to All" Tooltip #2277

Merged
merged 1 commit into from
Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/arms/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
.input-group
= f.number_field :subject_count, class: 'form-control', min: 0
.input-group-append
%button.btn.btn-secondary#applyMaxSubjectCount{ type: 'button', onclick: "$('#apply_max_subject_count').prop('checked', !$('#apply_max_subject_count').prop('checked'))" }
%button.btn.btn-secondary#applyMaxSubjectCount{ type: 'button', title: t('arms.tooltips.subject_count_apply_all'), onclick: "$('#apply_max_subject_count').prop('checked', !$('#apply_max_subject_count').prop('checked'))", data: { toggle: 'tooltip' } }
%span.mr-2
= t('actions.apply_all')
= check_box_tag :apply_max_subject_count, 'true', false, class: 'pointer-none'
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ en:
new: 'A group, or subgroup, of participants in a clinical trial that receive specific intervention, or no intervention, according to the study protocol.'
name: "A group, or subgroup, of participants in a clinical trial that receive specific intervention, or no intervention, according to the study protocol. Arm Name must be unique within a protocol, and the following special characters are not allowed: []*/\\?:)."
subject_count: 'Total number of estimated participants per arm'
subject_count_apply_all: "Apply the arm's subject count to all service line items in this arm."
visit_count: 'Total number of visits per arm'
screening: "Enter the number of subjects you expect to screen as well as how many screening visits are required. If no screening phase is required, you can change the name of the Arm to meet your needs."

Expand Down