-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fix statement in flash message #2764
Fix statement in flash message #2764
Conversation
@@ -236,7 +236,7 @@ def cu_repair_field_changed | |||
def cu_repair | |||
return unless load_edit("curepair_edit__new", "replace_cell__explorer") | |||
if @edit[:new][:end_date].to_time < @edit[:new][:start_date].to_time | |||
add_flash(_("End Date cannot be greater than Start Date"), :error) | |||
add_flash(_("End Date cannot be smaller than Start Date"), :error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest earlier
instead of smaller
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed as suggested, thanks.
a558401
to
191407c
Compare
Checked commit mzazrivec@191407c with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Fix statement in flash message (cherry picked from commit 93fcae5)
Gaprindashvili backport details:
|
The condition for showing the problematic flash message: