portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/templates/layout/html/columns layout.vm
Date Wed, 26 Jan 2005 17:46:26 GMT
rwatler     2005/01/26 09:46:26

  Modified:    portal/src/webapp/WEB-INF/templates/layout/html/columns
                        layout.vm
  Log:
  patch to suppress left/right positioning if in one column mode
  
  Revision  Changes    Path
  1.18      +2 -2      jakarta-jetspeed-2/portal/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
  
  Index: layout.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- layout.vm	10 Jan 2005 23:23:04 -0000	1.17
  +++ layout.vm	26 Jan 2005 17:46:26 -0000	1.18
  @@ -105,7 +105,7 @@
                    </tr>
                    <tr>
                      <td align="right" onMouseover="this.style.backgroundColor='red'"
onMouseout="this.style.backgroundColor=''">
  -                        #if($col > 0)            
  +                        #if($lastColumn > 0 && $col > 0)            
                            #set($leftUrl = $renderResponse.createRenderURL())    
                            $!leftUrl.setParameter("moveBy","-1,0")
                            $!leftUrl.setParameter("fragmentId","$f.id")    
  @@ -116,7 +116,7 @@
                         &nbsp;  Position &nbsp;
                      </td>
                      <td align="left" onMouseover="this.style.backgroundColor='red'" onMouseout="this.style.backgroundColor=''">
  -                        #if($col < $lastColumn )
  +                        #if($lastColumn > 0 && $col < $lastColumn)
                            #set($rightUrl = $renderResponse.createRenderURL())    
                            $!rightUrl.setParameter("moveBy","1,0")
                            $!rightUrl.setParameter("fragmentId","$f.id")
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message