continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r508033 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
Date Thu, 15 Feb 2007 17:44:13 GMT
Author: brett
Date: Thu Feb 15 09:44:11 2007
New Revision: 508033

URL: http://svn.apache.org/viewvc?view=rev&rev=508033
Log:
handle companyPom being set, but fields being empty

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp?view=diff&rev=508033&r1=508032&r2=508033
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
Thu Feb 15 09:44:11 2007
@@ -58,13 +58,13 @@
 
 <ww:set name="companyPom" value="companyPom"/>
 
-<c:if test="${empty(companyPom)}">
+<c:if test="${empty(companyPom.groupId) || empty(companyPom.artifactId)}">
   <p>
     You have not yet specified a company POM. <a href="<ww:url action='editAppearance'
/>">Select a Company POM</a>
   </p>
 </c:if>
 
-<c:if test="${!empty(companyPom)}">
+<c:if test="${!empty(companyPom.groupId) && !empty(companyPom.artifactId)}">
   <p>
     Your selected company POM is below. If you would like to change the organization name,
url or logo, you can
     <a href="<ww:url action='editCompanyPom'/>">edit the POM</a>.
@@ -113,4 +113,4 @@
 </c:if>
 </body>
 
-</html>
\ No newline at end of file
+</html>



Mime
View raw message