continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r365900 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/xwork.xml webapp/components/ webapp/components/companyLogo.jsp webapp/navigations/DefaultTop.jsp
Date Wed, 04 Jan 2006 12:28:22 GMT
Author: evenisse
Date: Wed Jan  4 04:28:12 2006
New Revision: 365900

URL: http://svn.apache.org/viewcvs?rev=365900&view=rev
Log:
Add company logo

Added:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/components/
    maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp   (with
props)
Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
    maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml?rev=365900&r1=365899&r2=365900&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml Wed Jan  4 04:28:12
2006
@@ -38,6 +38,11 @@
             <result name="success">configuration.jsp</result>
         </action>
 
+        <action name="companyInfo"
+                class="configurationAction">
+            <result name="success">/components/companyLogo.jsp</result>
+        </action>
+
         <action name="login"
                 class="loginAction">
             <result name="input">login.jsp</result>

Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp?rev=365900&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp Wed
Jan  4 04:28:12 2006
@@ -0,0 +1,16 @@
+<%@ taglib uri="webwork" prefix="ww" %>
+<ww:i18n name="localization.Continuum">
+
+<ww:if test="companyLogo != null && companyLogo != ''">
+    <ww:if test="companyUrl != null && companyUrl != ''">
+        <a href="<ww:property value="companyUrl"/>">
+    </ww:if>
+        <img src="<ww:property value="companyLogo"/>" alt="<ww:property value="companyName"/>"
title="<ww:property value="companyName"/>"/>
+    <ww:if test="companyUrl != null && companyUrl != ''">
+        </a>
+    </ww:if>
+</ww:if>
+<ww:else>
+    <a href="http://maven.apache.org/continuum/"><ww:text name="top.logo.default"/></a>
+</ww:else>
+</ww:i18n>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/components/companyLogo.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp?rev=365900&r1=365899&r2=365900&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp Wed
Jan  4 04:28:12 2006
@@ -5,9 +5,7 @@
     <tbody>
       <tr>
         <td>
-            <a href="http://maven.apache.org/continuum/">
-              <b><font color="red">TODO</font></b><ww:text name="top.logo.default"/>
-            </a>
+            <ww:action name="companyInfo" executeResult="true"/>
         </td>
         <td>
           <a href="http://maven.apache.org/continuum">



Mime
View raw message