# block title ${title} ${ super() } # endblock title

{# Copyright (C) 2006-2020 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 head ${ super() }
# endblock head
# block content

# ${tag_("Change History for %(name)s", name='%s'|safe % (url or url_of(resource), name or name_of(resource)))}

# if history:
# for k, v in diff_args or []: # endfor
# set has_comment = history|rejectattr('comment', 'none')|list

| ${_("Version")} | ${_("Date")} | ${_("Author")} # if has_comment: | ${_("Comment")} # endif
--- | --- | --- | --- | ---
# for item in history:
| ${item.version} | ${pretty_dateinfo(item.date, dateonly=True)} | ${authorinfo(item.author)} # if has_comment: | ${wiki_to_oneliner(context.child(resource), item.comment, shorten=true)} # if can_edit_comment: ${ captioned_button("✎", _("Edit"))} # endif # endif
# endfor

# if len(history) is greaterthan(10):
# endif # endif
${ super() } # endblock content