## -*- coding: utf-8 -*- ## usage: ## <%namespace name="comment" file="/changeset/changeset_file_comment.mako"/> ## ${comment.comment_block(comment)} ## <%namespace name="base" file="/base/base.mako"/> <%def name="comment_block(comment, inline=False)"> <% outdated_at_ver = comment.outdated_at_version(getattr(c, 'at_version', None)) %> <% pr_index_ver = comment.get_index_version(getattr(c, 'versions', [])) %>
%def> ## generate main comments <%def name="generate_comments(include_pull_request=False, is_pull_request=False)">
outdated ${'v{}'.format(pr_index_ver)}
${'v{}'.format(pr_index_ver)}