Author: jmorliaguet
Date: Tue Jun  6 21:29:12 2006
New Revision: 3341

Modified:
   z3ecm/trunk/src/ecm/cpsskins/example7/widgets.py

Log:

- added labels



Modified: z3ecm/trunk/src/ecm/cpsskins/example7/widgets.py
==============================================================================
--- z3ecm/trunk/src/ecm/cpsskins/example7/widgets.py    (original)
+++ z3ecm/trunk/src/ecm/cpsskins/example7/widgets.py    Tue Jun  6 21:29:12 2006
@@ -52,9 +52,11 @@
     </table>
     """
     implements(INewsBox)
+
     def __call__(self, markup, info, **kw):
         return self.template(markup=markup, info=info, **kw)
 
+
 class AlertBox(WidgetView):
     """Alert box widget view
     """
@@ -63,18 +65,19 @@
     <table label="Alert box">
       <tr>
         <th class="header" label="Alert box channel">
-          <div class="title">News alert</div>
-          <div class="date">publication date</div>
+          <div class="title" label="Header">News alert</div>
+          <div class="date" label="Publication date">publication date</div>
         </th>
       </tr>
       <tr class="item" label="Latest news item">
-        <td>
-          <a href="http://some.url";>Item title</a>
+        <td label="Latest news item">
+          <a href="http://some.url"; label="News item link">Item title</a>
         </td>
       </tr>
     </table>
     """
     implements(IAlertBox)
+
     def __call__(self, markup, info, **kw):
         return self.template(markup=markup, info=info, **kw)
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to