Project

General

Profile

« Previous | Next » 

Revision 9e0f9505

Added by Frédéric Péters over 15 years ago

Moved main actions to top bar

View differences:

extra/modules/events_ui.ptl
def _q_index [html] (self):
html_top('events', _('Remote Calendars'))
'<p>'
'<a href="new">%s</a>' % _('New')
'</p>'
'<ul id="main-actions">'
' <li><a class="new-item" href="new">%s</a></li>' % _('New')
'</ul>'
events = RemoteCalendar.select()
......
def _q_index [html] (self):
html_top('events', _('Events'))
'<p>'
'<a href="new">%s</a>' % _('New')
' - '
'<a href="remote/">%s</a>' % _('Remote Calendars')
'</p>'
'<ul id="main-actions">'
' <li><a class="new-item" href="new">%s</a></li>' % _('New')
' <li><a href="remote/">%s</a></li>' % _('Remote Calendars')
'</ul>'
events = Event.select()

Also available in: Unified diff