{# 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' # block title ${_("Timeline")} ${ super() } # endblock title ## Note: no need to reimplement head block if no changes needed there # block content

${_("Timeline")}

# set fromdate_input # endset # set daysback_input # endset # set authors_input # endset # trans fromdate=fromdate_input, daysback=daysback_input, authors=authors_input

# endtrans
# for filter in filters: # endfor
# 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