{# 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 ${_("Roadmap")} ${ super() } # endblock title # block content

${_("Roadmap")}

# for milestone in milestones:
# set mstats = milestone_stats[loop.index0]

# set name ${milestone.name} # endset # trans name Milestone: ${name} # endtrans

# if milestone.completed: # set duration = dateinfo(milestone.completed) # set date = format_datetime(milestone.completed) # trans duration, date Completed ${duration} ago (${date}) # endtrans # elif milestone.is_late: ${tag_("%(duration)s late", duration=dateinfo(milestone.due))} (${format_datetime(milestone.due)}) # elif milestone.due: # set duration = dateinfo(milestone.due) # set date = format_datetime(milestone.due) # trans duration, date Due in ${duration} (${date}) # endtrans # else: # trans No date set # endtrans # endif

# with # set stats = mstats.stats # set interval_hrefs = mstats.interval_hrefs # set stats_href = mstats.stats_href # if stats.count: # include 'progress_bar.html' ignore missing # endif # endwith
${wiki_to_html(context.child(milestone.resource), milestone.description)}
# endfor
# if 'MILESTONE_CREATE' in perm:
# endif # call(note, page) jmacros.wikihelp('TracRoadmap'): # trans note, page ${note} See ${page} for help on using the roadmap. # endtrans # endcall
${ super() } # endblock