[Zope3-checkins] CVS: Products3/NewsSite - README.txt:1.3 configure.zcml:1.18 newsindex.pt:1.6

Axel Bringenberg A.Bringenberg@srz-berlin.de
Thu, 27 Mar 2003 09:51:28 -0500


Update of /cvs-repository/Products3/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv22959

Modified Files:
	README.txt configure.zcml newsindex.pt 
Log Message:
 - added skin


=== Products3/NewsSite/README.txt 1.2 => 1.3 ===
--- Products3/NewsSite/README.txt:1.2	Wed Mar 26 10:42:29 2003
+++ Products3/NewsSite/README.txt	Thu Mar 27 09:50:58 2003
@@ -20,3 +20,9 @@
         role="Manager"
         />
  
+ - copy the skins/newssite folder to src/zope/app/browser/skins
+
+ - add the following line to src/zope/app/browser/skins/configure.zcml:
+    
+     <include package=".newssite" /> 
+


=== Products3/NewsSite/configure.zcml 1.17 => 1.18 ===
--- Products3/NewsSite/configure.zcml:1.17	Thu Mar 27 09:16:56 2003
+++ Products3/NewsSite/configure.zcml	Thu Mar 27 09:50:58 2003
@@ -3,6 +3,8 @@
     xmlns:browser='http://namespaces.zope.org/browser'
 >
 
+<browser:skin name="newssite" layers="newssite default" />
+
 <!-- Roles and permissions for a user-contributed news site.
   -->
 <role


=== Products3/NewsSite/newsindex.pt 1.5 => 1.6 ===
--- Products3/NewsSite/newsindex.pt:1.5	Thu Mar 27 07:09:36 2003
+++ Products3/NewsSite/newsindex.pt	Thu Mar 27 09:50:58 2003
@@ -5,20 +5,13 @@
 </head>
 <body>
 <div metal:fill-slot="body">
-  <ul>
     <span tal:repeat="item view/listPublicNewsItems">
-      <li>
-        <span tal:content="item/date"/>
-                &nbsp;&nbsp;&nbsp;&nbsp;
-        <span tal:content="item/dc/title"/>
-                &nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="link" 
-           tal:attributes="href item/absolute_url"
-        ><span tal:content="item/obj/lead"/></a>
-      </li>
-    </span>
-  </ul>
-
+		<p><span style="font-weight:bold;"
+				 tal:content="item/date"/>&nbsp;&nbsp;&nbsp;&nbsp;
+		   <a href="link" tal:attributes= "href item/absolute_url"
+		   ><span tal:content="item/dc/title"/></a><br>
+		<span tal:content="item/obj/lead"/></p>
+	</span>
 </div>
 </body>
 </html>