##// END OF EJS Templates
integrations: show no commits for email integration
dan -
r2645:f48c0619 default
parent child Browse files
Show More
@@ -127,11 +127,15 b" repo_push_template_html = Template('''"
127 127 </td></tr>
128 128 <tr>
129 129 <td style="padding:15px;" valign="top">
130 % for commit in data['push']['commits']:
131 <a href="${commit['url']}">${commit['short_id']}</a> by ${commit['author']} at ${commit['date']} <br/>
132 ${commit['message_html']} <br/>
133 <br/>
134 % endfor
130 % if data['push']['commits']:
131 % for commit in data['push']['commits']:
132 <a href="${commit['url']}">${commit['short_id']}</a> by ${commit['author']} at ${commit['date']} <br/>
133 ${commit['message_html']} <br/>
134 <br/>
135 % endfor
136 % else:
137 No commit data
138 % endif
135 139 </td>
136 140 </tr>
137 141 </table>
@@ -147,8 +151,6 b" repo_push_template_html = Template('''"
147 151 ''')
148 152
149 153
150
151
152 154 class EmailSettingsSchema(colander.Schema):
153 155 @colander.instantiate(validator=colander.Length(min=1))
154 156 class recipients(colander.SequenceSchema):
General Comments 0
You need to be logged in to leave comments. Login now