From d5aa4cfc25bca98e6e6ae7813eb6fbe80c2fd189 Mon Sep 17 00:00:00 2001 From: nac26 Date: Fri, 2 Apr 2010 23:17:48 +0000 Subject: [PATCH] NIHVIVO-173 Followed Brian's pattern to hide "Contact Us" link in footer (footer.jsp) if smtpHost is not set in deploy.properties. Tweaked identity.jsp, making anchor class conditional as well --- themes/vivo-basic/jsp/footer.jsp | 7 +++++-- themes/vivo-basic/jsp/identity.jsp | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/themes/vivo-basic/jsp/footer.jsp b/themes/vivo-basic/jsp/footer.jsp index f5024a0e..38277c5c 100644 --- a/themes/vivo-basic/jsp/footer.jsp +++ b/themes/vivo-basic/jsp/footer.jsp @@ -12,7 +12,7 @@ <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%/* this odd thing points to something in web.xml */ %> - +<%@page import="edu.cornell.mannlib.vitro.webapp.controller.ContactMailServlet"%> <% /** * @version 1.00 @@ -48,6 +48,7 @@ + diff --git a/themes/vivo-basic/jsp/identity.jsp b/themes/vivo-basic/jsp/identity.jsp index 97f2e1be..c693896f 100644 --- a/themes/vivo-basic/jsp/identity.jsp +++ b/themes/vivo-basic/jsp/identity.jsp @@ -130,7 +130,7 @@ portal.getRootBreadCrumbURL() : request.getContextPath()+"/"; -
  • About
  • + class="border">About
  • Contact Us