Make release names not wrap on index page

Simon L. B. Nielsen simon at FreeBSD.org
Sun Aug 21 14:06:55 UTC 2011


Hey,

I finally got tired of the names of releases names wrapping in the center of the front page and made the attached patch to fix it.

Any objections to changing this?

See built version at : http://people.freebsd.org/~simon/tmp/index-no-release-wrap/

Patch is also at : http://people.freebsd.org/~simon/patches/www-index-no-release-wrap.patch

-- 
Simon L. B. Nielsen
-------------- next part --------------
Index: index.xsl
===================================================================
RCS file: /home/dcvs/www/en/index.xsl,v
retrieving revision 1.173
diff -u -d -r1.173 index.xsl
--- index.xsl	15 Aug 2011 00:30:17 -0000	1.173
+++ index.xsl	21 Aug 2011 13:57:26 -0000
@@ -119,21 +119,21 @@
 				  <h2><a href="&base;/releases/">LATEST RELEASES</a></h2>
 				  <ul id="FRONTRELEASESLIST">
 					<li>
-					  <a href="&u.rel.announce;">Production Release &rel.current;</a>
+					  <a href="&u.rel.announce;">Production: &rel.current;</a>
 					</li>
 					<li>
-					  <a href="&u.rel2.announce;">Production (Legacy) Release &rel2.current;</a>
+					  <a href="&u.rel2.announce;">Legacy: &rel2.current;</a>
 					</li>
 			    <xsl:if test="'&beta.testing;' != 'IGNORE'">
 					<li>
-					  <a href="&base;/where.html#helptest">Upcoming Release
-				            &betarel.current; - &betarel.vers;</a>
+					  <a href="&base;/where.html#helptest">Upcoming:
+				            &betarel.current;-&betarel.vers;</a>
 					</li>
 			    </xsl:if>
 			    <xsl:if test="'&beta2.testing;' != 'IGNORE'">
 					<li>
-					  <a href="&base;/where.html#helptest">Upcoming Release
-				            &betarel2.current; - &betarel2.vers;</a>
+					  <a href="&base;/where.html#helptest">Upcoming:
+				            &betarel2.current;-&betarel2.vers;</a>
 					</li>
 			    </xsl:if>
 				  </ul>


More information about the freebsd-www mailing list