Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2011 16:06:51 +0200
From:      "Simon L. B. Nielsen" <simon@FreeBSD.org>
To:        freebsd-www@FreeBSD.org
Subject:   Make release names not wrap on index page
Message-ID:  <4F6AA49B-D1A8-4EAD-B09A-9226AC7130E2@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_0D4A86BB-9933-4FDB-9C05-EDDD44E8EB1A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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

--=20
Simon L. B. Nielsen

--Apple-Mail=_0D4A86BB-9933-4FDB-9C05-EDDD44E8EB1A
Content-Disposition: attachment;
	filename=www-index-no-release-wrap.txt
Content-Type: text/plain;
	name="www-index-no-release-wrap.txt"
Content-Transfer-Encoding: quoted-printable

Index: index.xsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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=3D"&base;/releases/">LATEST =
RELEASES</a></h2>
 				  <ul id=3D"FRONTRELEASESLIST">
 					<li>
-					  <a =
href=3D"&u.rel.announce;">Production Release &rel.current;</a>
+					  <a =
href=3D"&u.rel.announce;">Production: &rel.current;</a>
 					</li>
 					<li>
-					  <a =
href=3D"&u.rel2.announce;">Production (Legacy) Release =
&rel2.current;</a>
+					  <a =
href=3D"&u.rel2.announce;">Legacy: &rel2.current;</a>
 					</li>
 			    <xsl:if test=3D"'&beta.testing;' !=3D =
'IGNORE'">
 					<li>
-					  <a =
href=3D"&base;/where.html#helptest">Upcoming Release
-				            &betarel.current; - =
&betarel.vers;</a>
+					  <a =
href=3D"&base;/where.html#helptest">Upcoming:
+				            =
&betarel.current;-&betarel.vers;</a>
 					</li>
 			    </xsl:if>
 			    <xsl:if test=3D"'&beta2.testing;' !=3D =
'IGNORE'">
 					<li>
-					  <a =
href=3D"&base;/where.html#helptest">Upcoming Release
-				            &betarel2.current; - =
&betarel2.vers;</a>
+					  <a =
href=3D"&base;/where.html#helptest">Upcoming:
+				            =
&betarel2.current;-&betarel2.vers;</a>
 					</li>
 			    </xsl:if>
 				  </ul>

--Apple-Mail=_0D4A86BB-9933-4FDB-9C05-EDDD44E8EB1A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F6AA49B-D1A8-4EAD-B09A-9226AC7130E2>