We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc22a5 commit 8985a70Copy full SHA for 8985a70
code_comments/notification.py
@@ -151,7 +151,8 @@ def notify(self, comment):
151
152
self.data.update({
153
"comment": comment,
154
- "link": self.env.abs_href() + comment.href(),
+ "comment_url": self.env.abs_href() + comment.href(),
155
+ "project_url": self.env.project_url or self.env.abs_href(),
156
})
157
158
projname = self.config.get("project", "name")
code_comments/templates/code_comment_notify_email.txt
@@ -1,7 +1,7 @@
1
${comment.text}
2
3
-View the comment: ${link}
+View the comment: ${comment_url}
4
5
--
6
-${project.name} <${project.url or abs_href()}>
+${project.name} <${project_url}>
7
${project.descr}
0 commit comments