You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ka...@apache.org on 2002/02/17 07:49:58 UTC

cvs commit: jakarta-turbine-stratum/xdocs/stylesheets site.dvsl

kaz         02/02/16 22:49:58

  Modified:    xdocs    project.xml
               xdocs/stylesheets site.dvsl
  Log:
  Minor change to test if the 'href' attribute of the project's logo
  element is a relative or absolute URL.  This is why the logo is not
  displaying when you browse the T3 docs.
  
  Fixed the 'workaround' I had in place so the logo would display
  correctly.  This is not needed now as a result of the change above.
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-turbine-stratum/xdocs/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-stratum/xdocs/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	16 Feb 2002 13:35:29 -0000	1.1
  +++ project.xml	17 Feb 2002 06:49:58 -0000	1.2
  @@ -2,7 +2,7 @@
   <project name="stratum" href="http://jakarta.apache.org/turbine/stratum/">
   
     <title>Stratum</title>
  -  <logo href="images/logo.gif">Stratum</logo>
  +  <logo href="/images/logo.gif">Stratum</logo>
   
     <body>
       <menu name="Essentials">
  
  
  
  1.2       +4 -0      jakarta-turbine-stratum/xdocs/stylesheets/site.dvsl
  
  Index: site.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-stratum/xdocs/stylesheets/site.dvsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- site.dvsl	16 Feb 2002 13:35:30 -0000	1.1
  +++ site.dvsl	17 Feb 2002 06:49:58 -0000	1.2
  @@ -52,7 +52,11 @@
   
             ## PROJECT LOGO
             <a href="$home">
  +          #if ( $src.startsWith("http") )
               <img src="$src" align="right" alt="$alt" border="0"/>
  +          #else
  +            <img src="${relative-path}$src" align="right" alt="$alt" border="0"/>
  +          #end
             </a>
           #end
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>