Warning: Can't use blame annotator:
svn blame failed on branches/LCSv1/views/generic.ics: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/LCSv1/views/generic.ics @ 593

Revision 593, 518 bytes checked in by jdalbey, 6 years ago (diff)

Add branch LCSv1

RevLine 
1{{
2###
3# response._vars contains the dictionary returned by the controller action
4# Assuming something like:
5#
6# db.define_table('event',
7#                 Field('title'),
8#                 Field('start_datetime','datetime'),
9#                 Field('stop_datetime','datetime'))
10#   events = db(db.event).select()
11#
12# Aor this to work the action must return something like
13#
14#   dict(events=events, title='title',link=URL('action'),timeshift=0)
15#
16###
17from gluon.serializers import ics}}{{=XML(ics(**response._vars))}}
Note: See TracBrowser for help on using the repository browser.