NIHVIVO-364: Improved error message when an administrator doesn't provide a contact email address

This commit is contained in:
mb863 2010-07-14 13:58:29 +00:00
parent 46aed7047c
commit a5f51c51e9

View file

@ -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&amp;controller=Portal&amp;id=1'>Site Configuration</a>");
bodyTemplate = "contactForm-error.ftl";
}