aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-webapp
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2007-02-15 17:44:11 +0000
committerBrett Porter <brett@apache.org>2007-02-15 17:44:11 +0000
commit4fdbebb56be3b0a057e75c207383f7e72679053c (patch)
treef9720bbf2580780ca6c005dfc9c2dd1815c033fb /archiva-webapp
parent6321d56ca9e197ef18d3029ee044928a5c6b10eb (diff)
downloadarchiva-4fdbebb56be3b0a057e75c207383f7e72679053c.tar.gz
archiva-4fdbebb56be3b0a057e75c207383f7e72679053c.zip
handle companyPom being set, but fields being empty
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@508033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-webapp')
-rw-r--r--archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp6
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp b/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
index 9cd84c286..dfebffbc9 100644
--- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
+++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
@@ -39,13 +39,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>.
@@ -93,4 +93,4 @@
</c:choose>
</c:if>
</body>
-</html> \ No newline at end of file
+</html>