continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r550511 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/localization/Continuum.properties webapp/WEB-INF/jsp/admin/installationsList.jsp webapp/WEB-INF/jsp/admin/profilesList.jsp
Date Mon, 25 Jun 2007 14:25:20 GMT
Author: evenisse
Date: Mon Jun 25 07:25:19 2007
New Revision: 550511

URL: http://svn.apache.org/viewvc?view=rev&rev=550511
Log:
Don't show table headers if empty

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties?view=diff&rev=550511&r1=550510&r2=550511
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
Mon Jun 25 07:25:19 2007
@@ -581,6 +581,7 @@
 # Page: Profiles List
 # ----------------------------------------------------------------------
 profilesList.page.title= Build Profiles
+profilesList.section.title= Build Profiles
 
 # ----------------------------------------------------------------------
 # Page: Profile Edit

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp?view=diff&rev=550511&r1=550510&r2=550511
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp
Mon Jun 25 07:25:19 2007
@@ -32,7 +32,8 @@
     <h3>
       <ww:text name="installationsList.section.title"/>
     </h3>  
-  
+
+    <ww:if test="${not empty installations}">
     <ec:table items="installations"
               var="installation"
               showExports="false"
@@ -57,7 +58,8 @@
           </a>  
         </ec:column>             
       </ec:row>
-    </ec:table>  
+    </ec:table>
+    </ww:if>
     <div class="functnbar3">
       <ww:form action="addInstallation!input.action" method="post">
         <ww:submit value="%{getText('add')}"/>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp?view=diff&rev=550511&r1=550510&r2=550511
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp
Mon Jun 25 07:25:19 2007
@@ -29,7 +29,11 @@
   </head>
   
   <div id="h3">
-  
+    <h3>
+      <ww:text name="profilesList.section.title"/>
+    </h3>
+
+    <ww:if test="${not empty profiles}">
     <ec:table items="profiles"
               var="profile"
               showExports="false"
@@ -65,7 +69,8 @@
           </a>                    
         </ec:column>        
       </ec:row>
-    </ec:table>  
+    </ec:table>
+    </ww:if>
     <div class="functnbar3">
       <ww:form action="addProfile!input.action" method="post">
         <ww:submit value="%{getText('add')}"/>



Mime
View raw message