[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_generic - folder_contents.pt:1.4 recent_news.pt:1.2 zpt_stylesheet.css:1.4

Andrew Sawyers andrew@digicool.com
Wed, 1 Aug 2001 17:20:22 -0400


Update of /cvs-repository/Products/CMFDecor/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv16220/skins/zpt_generic

Modified Files:
	folder_contents.pt recent_news.pt zpt_stylesheet.css 
Log Message:

*general ZPT logic fixes and additions to zpt_stylesheet for
recent_news improvements.

 
=== Products/CMFDecor/skins/zpt_generic/folder_contents.pt 1.3 => 1.4 ===
    <td valign="top">
     <table class="ContentsList">
-      <tr valign="top"
+      <tbody tal:condition="python: here.portal_membership.checkPermission('List folder contents', here, 'aq_parent')">
+	  <tr valign="top"
 	      tal:define="upNav python: hasattr(here.aq_parent, 'portal_url');
-		              upID python: here.aq_parent.getId()"
-		  tal:condition="python: here.portal_membership.checkPermission('List folder contents', here, 'aq_parent')"
-	   >
+		              upID python: here.aq_parent.getId()">
         <td colspan="3" align="left">
           <span tal:condition="upNav|nothing"><a href="../folder_contents"><img src="" alt="[Link]" border="0"
 											tal:attributes="src python: here.portal_url() + '/UpFolder_icon.gif'"></a>
@@ -33,6 +32,7 @@
         <span tal:condition="python: not(upNav)"><span class="mild">Root</span></span>
 		</td>
       </tr>
+	  </tbody>
 	  <tr><td colspan="1" align="left" width="49%">
 	  <table>
 	  <tbody tal:define="global b_start string:0;b_start request/b_start | b_start;


=== Products/CMFDecor/skins/zpt_generic/recent_news.pt 1.1 => 1.2 ===
 	     tal:attributes="href newsitems/getURL"
 		 tal:content="newsitems/title">Title</a>
-      <br> By <span tal:replace="newsitems/Creator">Creator</span>
   </td>
   <td class="NewsListing" align="right" valign="top"
       tal:content="newsitems/Date">Date
   </td>
  </tr>
+ <tr><td class="NewsByLine" valign="top" colspan="2" align="left">
+      By <span tal:replace="newsitems/Creator">Creator</span>
+  </td>
+  </tr>
  <tr>
   <td colspan="2">
     <em> <span tal:define="pss modules/Products.PythonScripts.standard; niDescription newsitems/Description"


=== Products/CMFDecor/skins/zpt_generic/zpt_stylesheet.css 1.3 => 1.4 ===
     background-color: #336699;
     color:  #FFFFFF;
+    font-size: 80%;
+    font-weight: bold;
+}
+
+td..NewsByLine {
+    background-color:  #CCCCCC;
+    color:  #336699;
+    font-size: 80%;
+    text-align: left;
+    vertical-align: top;
 }
 
 .NewsLeadin {