##// END OF EJS Templates
comments: remove helper to render a comment object....
comments: remove helper to render a comment object. - we always use helper renderer, and for consistency we should stick with that. It makes refactoring, and general use much harder. DB objects should have least possible logic inside.

File last commit:

r1255:952cdf08 default
r1673:e3526633 default
Show More
pull_request_update.mako
26 lines | 673 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
Pull request updated. Auto status change to |under_review|
.. role:: added
.. role:: removed
.. parsed-literal::
Changed commits:
* :added:`${len(added_commits)} added`
* :removed:`${len(removed_commits)} removed`
%if not changed_files:
No file changes found
%else:
Changed files:
%for file_name in added_files:
* `A ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in modified_files:
* `M ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in removed_files:
* R ${file_name}
%endfor
%endif
.. |under_review| replace:: *"${under_review_label}"*