[CMF-checkins] CVS: Products/CMFCalendar/www - configureCalendarTool.zpt:1.3

Stefan H. Holek stefan at epy.co.at
Wed Aug 4 19:04:30 EDT 2004


Update of /cvs-repository/Products/CMFCalendar/www
In directory cvs.zope.org:/tmp/cvs-serv20119/CMFCalendar/www

Modified Files:
	configureCalendarTool.zpt 
Log Message:
Implemented parts of #110 by making workflow states configurable TTW.


=== Products/CMFCalendar/www/configureCalendarTool.zpt 1.2 => 1.3 ===
--- Products/CMFCalendar/www/configureCalendarTool.zpt:1.2	Fri May 10 11:45:48 2002
+++ Products/CMFCalendar/www/configureCalendarTool.zpt	Wed Aug  4 19:04:30 2004
@@ -1,8 +1,6 @@
 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
 <tal:tabs   tal:replace="structure here/manage_tabs">tabs</tal:tabs>
 
-<h3> Configure <code>portal_calendar</code> Tool </h3>
-
 
 <form action="edit_configuration" method="post">
 
@@ -30,6 +28,20 @@
  an attribute 'end' which return DateTime objects to the Catalog.
  </p>
 
+ <h3>Workflow states to show in the calendar</h3>
+ <tal:define define="states here/getCalendarStates">
+
+  <textarea name="show_states:lines" rows="5" cols="20" wrap="off"
+            tal:content="python:'\n'.join(states)">state</textarea>
+
+ </tal:define>
+
+ <p>
+ Each name must be on a separate line.
+ </p>
+
+ <h3>Preserve selected year and month</h3>
+ <p>
   <tal:define tal:define="use_session here/portal_calendar/getUseSession">
 
     <tal:use_session tal:condition="python:use_session">



More information about the CMF-checkins mailing list