[Checkins] SVN: zope.release/branches/3.4/templates/ Add changes template.

Paul Carduner paulcarduner at gmail.com
Tue Jan 27 06:22:03 EST 2009


Log message for revision 95118:
  Add changes template.

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

-=-
Added: zope.release/branches/3.4/templates/VERSION/CHANGES.html
===================================================================
--- zope.release/branches/3.4/templates/VERSION/CHANGES.html	                        (rev 0)
+++ zope.release/branches/3.4/templates/VERSION/CHANGES.html	2009-01-27 11:22:03 UTC (rev 95118)
@@ -0,0 +1,14 @@
+<!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">Changes</title>
+  </head>
+  <body>
+    <div metal:fill-slot="divider"><a href="..">Go back to the Home Page</a></div>
+    <div metal:fill-slot="left-nav"></div>
+    <div metal:fill-slot="content">
+      <h1 id="content-header">Version <span tal:replace="version/name"/> Change Log</h1>
+      <div tal:replace="structure version/changelog/html"/>
+    </div>
+  </body>
+</html>


Property changes on: zope.release/branches/3.4/templates/VERSION/CHANGES.html
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: zope.release/branches/3.4/templates/index.html
===================================================================
--- zope.release/branches/3.4/templates/index.html	2009-01-27 11:21:33 UTC (rev 95117)
+++ zope.release/branches/3.4/templates/index.html	2009-01-27 11:22:03 UTC (rev 95118)
@@ -5,12 +5,36 @@
     <title metal:fill-slot="page-title">Zope 3 Known Good Sets</title>
   </head>
   <body>
+    <div metal:fill-slot="divider">
+      Check out the latest version:
+      <span tal:replace="latest/name"
+            tal:condition="not:latest/announcement/url"></span>
+      <a href="#"
+         tal:attributes="href latest/announcement/url"
+         tal:condition="latest/announcement/url"
+         tal:content="latest/name">
+        Announcement
+      </a>
+      <a href="#"
+         tal:attributes="href latest/changelog/url"
+         tal:condition="latest/changelog/url">
+        Changes
+      </a>
+    </div>
     <div metal:fill-slot="left-nav">
       <h1>Versions</h1>
       <ul class="level-one">
-        <li tal:repeat="version self/data/versions">
+        <li tal:repeat="version versions">
           <a href="#">Version <span tal:replace="version/name">1</span></a>
           <ul class="level-two" style="display: none;">
+            <li tal:condition="version/announcement/url">
+              <a href="#"
+                 tal:attributes="href version/announcement/url">Announcement</a>
+            </li>
+            <li tal:condition="version/changelog/url">
+              <a href="#"
+                 tal:attributes="href version/changelog/url">Changelog</a>
+            </li>
             <li tal:repeat="feature version/features">
               <a href="#"
                  tal:attributes="href feature/url"

Modified: zope.release/branches/3.4/templates/master.pt
===================================================================
--- zope.release/branches/3.4/templates/master.pt	2009-01-27 11:21:33 UTC (rev 95117)
+++ zope.release/branches/3.4/templates/master.pt	2009-01-27 11:22:03 UTC (rev 95118)
@@ -3,7 +3,8 @@
       metal:define-macro="page">
   <head>
     <title metal:define-slot="page-title">Introduction to the KGS</title>
-    <link rel="stylesheet" type="text/css" href="resources/style.css" />
+    <link rel="stylesheet" type="text/css" href="resources/style.css"
+          tal:attributes="href string:${resourceDir}/style.css"/>
     <script type="text/javascript" language="Javascript"
             src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
     <script type="text/javascript" language="Javascript">
@@ -28,7 +29,8 @@
       <div id="header-wrapper">
         <div id="header">
           <a href="http://new.zope.org" accesskey="1" id="logo">
-            <img height="36" width="110" title="" alt="" src="resources/logo.png"/>
+            <img height="36" width="110" title="" alt=""
+                 tal:attributes="src string:${resourceDir}/logo.png"/>
           </a>
           <div metal:define-slot="page-header"></div>
         </div>



More information about the Checkins mailing list