Fix a bug on email notifications : a slash was inserted before #
This commit is contained in:
parent
61d2d63bf4
commit
e277e1cc24
2
views.py
2
views.py
|
@ -733,7 +733,7 @@ def add_comment(request, post_id, parent_id):
|
|||
|
||||
for email,author in emails.items():
|
||||
text_body = u'Bonjour %s,\n\nUn nouveau commentaire a été posté pour l\'article "%s".\n\n' % (author, post.title)
|
||||
text_body += u'Pour le consulter, rendez vous sur http://%s%s/#comment_%s\n\n----------------\n\n' % (blog.name, post.getPath(), comment_index)
|
||||
text_body += u'Pour le consulter, rendez vous sur http://%s%s#comment_%s\n\n----------------\n\n' % (blog.name, post.getPath(), comment_index)
|
||||
text_body += the_comment
|
||||
text_body += '\n'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user