{# Copyright (C) 2006-2023 Edgewall Software
This software is licensed as described in the file COPYING, which
you should have received as part of this distribution. The terms
are also available at https://trac.edgewall.org/wiki/TracLicense.
This software consists of voluntary contributions made by many
individuals. For the exact contribution history, see the revision
history and logs, available at https://trac.edgewall.org/.
#}
# extends 'layout.html'
${_("Timeline")}
# for date, events in events|groupby('date')|sort(reverse=true):
${format_date(date)}: ${_("Today") if date == today else
_("Yesterday") if date == yesterday}
# for unread, events in events|groupby('unread')|sort(reverse=true):
# for event in events:
# set event_delta = precisedate and (event.datetime - precisedate)
# set highlight = precision and precisedate and timedelta(0) is lessthanorequal(event_delta) and event_delta is lessthan(precision)
-
# set time
${format_time(event.datetime, 'short')}
# endset
# set title = event.render('title', context)
# if event.author:
# trans time, title, author = authorinfo(event.author)
${time} ${title} by ${author}
# endtrans
# else:
${time} ${title}
# endif
# set rendered = event.render('description', context)
# if rendered:
-
${rendered}
# endif
# endfor
# endfor
# endfor
# call(note, page) jmacros.wikihelp('TracTimeline'):
# trans note, page
${note} See ${page} for information about the timeline view.
# endtrans
# endcall
${ super() }
# endblock content