{# 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 ${_("Milestone %(name)s", name=milestone.name)} ${ super() } # endblock title # block head ${ super() } # if 'MILESTONE_MODIFY' in perm(milestone.resource): # endif # endblock head # block content

${_("Milestone %(name)s", name=milestone.name)}

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

# if stats.count: # include 'progress_bar.html' ignore missing # endif
# if available_groups and stats.count:
# if groups: # include 'progress_bar_grouped.html' ignore missing # endif
# endif # if milestone.description:
${wiki_to_html(context, milestone.description)}
# endif # with alist = attachments, compact = true, foldable = true # include 'list_of_attachments.html' # endwith # set can_modify = 'MILESTONE_MODIFY' in perm(milestone.resource) # set can_delete = 'MILESTONE_DELETE' in perm(milestone.resource) # if can_modify or can_delete or attachments.can_create:
# if can_modify:
# endif # if can_delete:
# endif # with alist = attachments # include 'attach_file_form.html' # endwith
# endif # call(note, page) jmacros.wikihelp('TracRoadmap'): # trans note, page ${note} See ${page} for help on using the roadmap. # endtrans # endcall
${ super() } # endblock content