Skip to content

Commit e995208

Browse files
committed
Merge pull request #70 from kasioumis/master-webcomment-format-improvements
WebComment: add comment permalink in admin e-mail
2 parents 65292e4 + 5835bd4 commit e995208

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/webcomment/lib/webcomment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,7 @@ def notify_admin_of_new_comment(comID):
19151915
19161916
%(comment_or_review_caps)s:
19171917
%(comment_or_review)s ID = %(comID)s %(review_stuff)s
1918+
URL = <%(siteurl)s/%(CFG_SITE_RECORD)s/%(recID)s/%(comments_or_reviews)s/#C%(comID)s>
19181919
Body =
19191920
<--------------->
19201921
@@ -1964,6 +1965,7 @@ def notify_admin_of_new_comment(comID):
19641965
<p>%(comment_or_review_caps)s:</p>
19651966
<ul style="list-style-type: none;">
19661967
<li>%(comment_or_review)s ID = %(comID)s %(review_stuff)s</li>
1968+
<li>URL = &lt;<a href='%(siteurl)s/%(CFG_SITE_RECORD)s/%(recID)s/%(comments_or_reviews)s/'>%(siteurl)s/%(CFG_SITE_RECORD)s/%(recID)s/%(comments_or_reviews)s/#C%(comID)s</a>&gt;</li>
19671969
<li>Body = </li>
19681970
</ul>
19691971

0 commit comments

Comments
 (0)