diff --git a/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap3/email-request.js b/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap3/email-request.js index 73e1b5c94249..8df8ddae4afa 100644 --- a/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap3/email-request.js +++ b/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap3/email-request.js @@ -81,7 +81,7 @@ hqDefine('hqwebapp/js/bootstrap3/email-request', [ self.$formElement.resetForm(); self.cancelBtnEnabled(true); self.$submitBtn.button('reset'); - self.hasEmailInputError(false); + resetErrors(); }; function isValidEmail(email) { diff --git a/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap5/email-request.js b/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap5/email-request.js index d7963f70ab30..a185ef0104ba 100644 --- a/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap5/email-request.js +++ b/corehq/apps/hqwebapp/static/hqwebapp/js/bootstrap5/email-request.js @@ -84,7 +84,7 @@ hqDefine('hqwebapp/js/bootstrap5/email-request', [ self.$formElement.resetForm(); self.cancelBtnEnabled(true); self.$submitBtn.changeButtonState('reset'); - self.hasEmailInputError(false); + resetErrors(); }; function isValidEmail(email) { diff --git a/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap3/modal_solutions_feature_request.html b/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap3/modal_solutions_feature_request.html index db96dd1e86cd..57ba17974726 100644 --- a/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap3/modal_solutions_feature_request.html +++ b/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap3/modal_solutions_feature_request.html @@ -19,7 +19,12 @@
- {% trans "Please submit this report from the page where you would like to see the change" %} + + {% blocktrans %} + If this request is related to a specific feature, then please submit this report + from the location where you would like to see the change. + {% endblocktrans %} +
diff --git a/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap5/modal_report_issue.html b/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap5/modal_report_issue.html index da05b7a61835..daf95f00afb5 100644 --- a/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap5/modal_report_issue.html +++ b/corehq/apps/hqwebapp/templates/hqwebapp/includes/bootstrap5/modal_report_issue.html @@ -5,7 +5,8 @@ tabindex="-1" aria-labelledby="reportAnIssueModalLabel" aria-hidden="true" - id="modalReportIssue"> + id="modalReportIssue" + data-bind="event: { 'shown.bs.modal': openModal, 'hidden.bs.modal': resetForm }">- {% trans "Please submit this report from the page where you would like to see the change" %} + + {% blocktrans %} + If this request is related to a specific feature, then please submit this report + from the location where you would like to see the change. + {% endblocktrans %} +
- {% blocktrans %} - Comma-separated email addresses of others you want to notify about this request. - {% endblocktrans %} -
+ {% blocktrans %} + Comma-separated email addresses of others you want to notify about this request. + {% endblocktrans %}- {% blocktrans %} + {% blocktrans %} Please upload any files relevant to your suggestion. - {% endblocktrans %} + {% endblocktrans %}
- - {% blocktrans %} - Do not upload a file containing sensitive data like passwords or project data. - {% endblocktrans %} + + {% blocktrans %} + Do not upload a file containing sensitive data like passwords or project data. + {% endblocktrans %}
- {% trans "Please submit this report from page where issue is occurring" %} --
-- +