##// END OF EJS Templates
emails: expose inline/general next to comment type.
dan -
r4052:23a700f2 default
parent child Browse files
Show More
@@ -47,7 +47,7 b' data = {'
47 }
47 }
48 %>
48 %>
49
49
50 * ${_('Comment link')}: ${commit_comment_url}
50 * ${('Inline' if comment_file else 'General')} ${_('Comment link')}: ${commit_comment_url}
51
51
52 %if status_change:
52 %if status_change:
53 * ${_('Commit status')}: ${_('Status was changed to')}: *${status_change}*
53 * ${_('Commit status')}: ${_('Status was changed to')}: *${status_change}*
@@ -152,9 +152,9 b' data = {'
152 <tr style="border-bottom:1px solid #dbd9da;">
152 <tr style="border-bottom:1px solid #dbd9da;">
153 <td colspan="2" style="padding-right:20px;">
153 <td colspan="2" style="padding-right:20px;">
154 % if comment_type == 'todo':
154 % if comment_type == 'todo':
155 ${_('`TODO` number')} ${comment_id}:
155 ${('Inline' if comment_file else 'General')} ${_('`TODO` number')} ${comment_id}:
156 % else:
156 % else:
157 ${_('`Note` number')} ${comment_id}:
157 ${('Inline' if comment_file else 'General')} ${_('`Note` number')} ${comment_id}:
158 % endif
158 % endif
159 </td>
159 </td>
160 </tr>
160 </tr>
@@ -61,7 +61,7 b' data = {'
61
61
62 * ${h.literal(_('Commit flow: {source_ref_type}:{source_ref_name} of {source_repo_url} into {target_ref_type}:{target_ref_name} of {target_repo_url}').format(**data))}
62 * ${h.literal(_('Commit flow: {source_ref_type}:{source_ref_name} of {source_repo_url} into {target_ref_type}:{target_ref_name} of {target_repo_url}').format(**data))}
63
63
64 * ${_('Comment link')}: ${pr_comment_url}
64 * ${('Inline' if comment_file else 'General')} ${_('Comment link')}: ${pr_comment_url}
65
65
66 %if status_change and not closing_pr:
66 %if status_change and not closing_pr:
67 * ${_('{user} submitted pull request !{pr_id} status: *{status}*').format(**data)}
67 * ${_('{user} submitted pull request !{pr_id} status: *{status}*').format(**data)}
@@ -182,9 +182,9 b' data = {'
182 <tr style="border-bottom:1px solid #dbd9da;">
182 <tr style="border-bottom:1px solid #dbd9da;">
183 <td colspan="2" style="padding-right:20px;">
183 <td colspan="2" style="padding-right:20px;">
184 % if comment_type == 'todo':
184 % if comment_type == 'todo':
185 ${_('`TODO` number')} ${comment_id}:
185 ${('Inline' if comment_file else 'General')} ${_('`TODO` number')} ${comment_id}:
186 % else:
186 % else:
187 ${_('`Note` number')} ${comment_id}:
187 ${('Inline' if comment_file else 'General')} ${_('`Note` number')} ${comment_id}:
188 % endif
188 % endif
189 </td>
189 </td>
190 </tr>
190 </tr>
General Comments 0
You need to be logged in to leave comments. Login now