[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nuxeo-checkins] CVS: NuxWidgets/Calendar TODO.txt,1.2,1.3 __init__.py,1
From: |
Juan David Ibáñez Palomar |
Subject: |
[Nuxeo-checkins] CVS: NuxWidgets/Calendar TODO.txt,1.2,1.3 __init__.py,1.1.1.1,1.2 calendar.zpt,1.1.1.1,1.2 |
Date: |
Tue, 26 Nov 2002 06:26:30 -0500 |
Update of /cvsroot/nuxeo/NuxWidgets/Calendar
In directory subversions:/tmp/cvs-serv26553/Calendar
Modified Files:
TODO.txt __init__.py calendar.zpt
Log Message:
Several very old changes I forgot to commit.
Index: TODO.txt
===================================================================
RCS file: /cvsroot/nuxeo/NuxWidgets/Calendar/TODO.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TODO.txt 12 Feb 2002 13:09:50 -0000 1.2
--- TODO.txt 26 Nov 2002 11:26:28 -0000 1.3
***************
*** 1,2 ****
--- 1,5 ----
+ - Update the translation to the new version of Localizer (remove
+ the Multilingual class).
+
- The parameter 'calendar_date' could accept other parameters like an
iso string or a tuple with the year, month and day.
Index: __init__.py
===================================================================
RCS file: /cvsroot/nuxeo/NuxWidgets/Calendar/__init__.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** __init__.py 11 Feb 2002 13:46:49 -0000 1.1.1.1
--- __init__.py 26 Nov 2002 11:26:28 -0000 1.2
***************
*** 177,185 ****
######################################################################
# Security stuff
######################################################################
! calendar.__roles__ = None
security.declarePublic('matrix', 'weekday', 'day_class')
security.apply(globals())
--- 177,208 ----
+
+ ######################################################################
+ # Skins (Experimental code)
+ ######################################################################
+
+ skins = {}
+ skins['default'] = {'calendar': {},
+ 'weekday': {'bgcolor': 'yellow'},
+ 'day': {}}
+
+
+ calendar_macro = PageTemplateFile('calendar', globals())
+ calendar_macro.__roles__ = None
+
+ def calendar():
+ """ """
+
+ return calendar_macro.macros['calendar']
+
+
+ security.declarePublic('calendar')
+
+
######################################################################
# Security stuff
######################################################################
! #calendar.__roles__ = None
security.declarePublic('matrix', 'weekday', 'day_class')
security.apply(globals())
Index: calendar.zpt
===================================================================
RCS file: /cvsroot/nuxeo/NuxWidgets/Calendar/calendar.zpt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** calendar.zpt 11 Feb 2002 13:46:49 -0000 1.1.1.1
--- calendar.zpt 26 Nov 2002 11:26:28 -0000 1.2
***************
*** 7,12 ****
<th class="weekday">
<div metal:define-slot="weekday"
! tal:replace="python:calendar.weekday(weekday)"
! tal:omit-tag="">
Dummy weekday
</div>
--- 7,11 ----
<th class="weekday">
<div metal:define-slot="weekday"
! tal:replace="python:calendar.weekday(weekday)">
Dummy weekday
</div>
***************
*** 22,26 ****
calendar_date,
calendar_show)">
! <div metal:define-slot="day" tal:content="date" tal:omit-tag="">
Dummy day
</div>
--- 21,25 ----
calendar_date,
calendar_show)">
! <div metal:define-slot="day" tal:replace="date">
Dummy day
</div>
***************
*** 28,30 ****
</div>
</tr>
! </table>
--- 27,29 ----
</div>
</tr>
! </table>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nuxeo-checkins] CVS: NuxWidgets/Calendar TODO.txt,1.2,1.3 __init__.py,1.1.1.1,1.2 calendar.zpt,1.1.1.1,1.2,
Juan David Ibáñez Palomar <=