[Checkins] SVN: zope.release/branches/3.4/src/zope/release/templates/ Add version index.html to zope.release template.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jan 29 02:09:12 EST 2009


Log message for revision 95372:
  Add version index.html to zope.release template.
  
  In the menu, add the home page to the menu.
  
  Make the first level menu link a link to the version's index.html.
  

Changed:
  A   zope.release/branches/3.4/src/zope/release/templates/VERSION/index.html
  U   zope.release/branches/3.4/src/zope/release/templates/master.pt

-=-
Added: zope.release/branches/3.4/src/zope/release/templates/VERSION/index.html
===================================================================
--- zope.release/branches/3.4/src/zope/release/templates/VERSION/index.html	                        (rev 0)
+++ zope.release/branches/3.4/src/zope/release/templates/VERSION/index.html	2009-01-29 07:09:12 UTC (rev 95372)
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html metal:use-macro="templates/master.pt/macros/page" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <title metal:fill-slot="page-title">Introduction to the KGS</title>
+  </head>
+  <body>
+<!--
+    <span metal:fill-slot="title"><em class="name" tal:replace="title">name</em> Known Good Set</span>
+-->
+    <div metal:fill-slot="content">
+      <h1 id="pageheading">
+        <span tal:replace="python:title.title()" />
+        <span tal:replace="version/name"/> Has Been Released!
+      </h1>
+
+      <div tal:content="structure version/announcement/html"/>
+      <div tal:content="structure version/changelog/html"/>
+
+    </div>
+  </body>
+</html>

Modified: zope.release/branches/3.4/src/zope/release/templates/master.pt
===================================================================
--- zope.release/branches/3.4/src/zope/release/templates/master.pt	2009-01-29 05:59:27 UTC (rev 95371)
+++ zope.release/branches/3.4/src/zope/release/templates/master.pt	2009-01-29 07:09:12 UTC (rev 95372)
@@ -71,11 +71,16 @@
             <h1>Versions</h1>
             <ul class="level-one">
               <li tal:repeat="version versions">
-                <a href="javascript:void(0);">
+                <a href="#"
+                   tal:attributes="href string:${siteRoot}${version/name}/index.html">
                   <span tal:replace="version/name">3.4.0</span>
                   (<span tal:replace="version/date"/>)
                 </a>
                 <ul class="level-two" style="display: none;">
+                  <li>
+                    <a href="#"
+                       tal:attributes="href string:${siteRoot}${version/name}/index.html">Homepage</a>
+                  </li>
                   <li tal:condition="version/announcement/url">
                     <a href="#"
                        tal:attributes="href string:${siteRoot}${version/announcement/url}">Announcement</a>



More information about the Checkins mailing list