##usage: ## <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> ## ${comment.comment_block(co)} ## <%def name="comment_block(co)">
${co.author.username} ${_('commented on')} ${h.short_id(co.revision)} %if co.f_path: ${_(' in file ')} ${co.f_path}:L ${co.line_no} %endif ${h.age(co.modified_at)}
%if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id:
${_('Delete')}
%endif ${h.rst(co.text)|n}
<%def name="comment_inline_form()">