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