NIHVIVO-364: Improved error message when an administrator doesn't provide a contact email address
This commit is contained in:
parent
46aed7047c
commit
a5f51c51e9
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ public class ContactFormController extends FreeMarkerHttpServlet {
|
|||
|
||||
else if (StringUtils.isEmpty(portal.getContactMail())) {
|
||||
body.put("errorMessage",
|
||||
"The site administrator has not configured an email address to receive the form submission.");
|
||||
"The feedback form is currently disabled. In order to activate the form, a site administrator must provide a contact email address in the <a href='editForm?home=1&controller=Portal&id=1'>Site Configuration</a>");
|
||||
|
||||
bodyTemplate = "contactForm-error.ftl";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue