## -*- coding: utf-8 -*- ## usage: ## <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> ## ${comment.comment_block(co)} ## <%def name="comment_block(co)">
%def> ## show comment count as "x comments (y inline, z general)" <%def name="comment_count(inline_cnt, general_cnt)"> ${'%s (%s, %s)' % ( ungettext("%d comment", "%d comments", inline_cnt + general_cnt) % (inline_cnt + general_cnt), ungettext("%d inline", "%d inline", inline_cnt) % inline_cnt, ungettext("%d general", "%d general", general_cnt) % general_cnt )} %def> ## generate inline comments and the main ones <%def name="generate_comments()"> ## original location of comments ... but the ones outside diff context remains here
${_("Status change")}: ${co.status_change[0].status_lbl}