{# 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 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

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

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