continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r482980 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
Date Wed, 06 Dec 2006 09:22:33 GMT
Author: evenisse
Date: Wed Dec  6 01:22:32 2006
New Revision: 482980

URL: http://svn.apache.org/viewvc?view=rev&rev=482980
Log:
Revert r.482744

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp?view=diff&rev=482980&r1=482979&r2=482980
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
Wed Dec  6 01:22:32 2006
@@ -1,21 +1,16 @@
 <%@ taglib uri="/webwork" prefix="ww" %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <ww:set name="companyLogo" value="companyLogo"/>
-<c:choose>
-  <c:when test="${!empty(companyLogo)}">
-    <ww:set name="companyUrl" value="companyUrl"/>
-    <c:choose>
-      <c:when test="${!empty(companyUrl)}">
-        <a href="${companyUrl}">
-          <img src="${companyLogo}" title="${companyName}" border="0" alt="${companyName}"/>
-        </a>
-      </c:when>
-      <c:otherwise>
-        <img src="${companyLogo}" title="${companyName}" border="0" alt="${companyName}"/>
-      </c:otherwise>
-    </c:choose>
-  </c:when>
-  <c:otherwise>
-    <img src="/images/asf_logo_wide.gif" title="Apache Software Foundation" border="0"
alt="Apache Software Foundation"/>
-  </c:otherwise>
-</c:choose>
+<c:if test="${!empty(companyLogo)}">
+  <ww:set name="companyUrl" value="companyUrl"/>
+  <c:choose>
+    <c:when test="${!empty(companyUrl)}">
+      <a href="${companyUrl}">
+        <img src="${companyLogo}" title="${companyName}" border="0" alt=""/>
+      </a>
+    </c:when>
+    <c:otherwise>
+      <img src="${companyLogo}" title="${companyName}" border="0" alt=""/>
+    </c:otherwise>
+  </c:choose>
+</c:if>



Mime
View raw message