Commits

David Chambers  committed ecac3a2

Removed duplicate "close thread" link from comment notification e-mail.

  • Participants
  • Parent commits d6fc1b8

Comments (0)

Files changed (1)

                     html_content = u'<p>%s wrote:</p>' % convert_html_chars(author)
                     html_content += u'<blockquote>%s</blockquote><ul>' % re.sub(r'([ \t]*\n){2,}', '</p><p>',
                             convert_html_chars(message))
-                    for action, messages in sorted(MESSAGES.items()):
+                    m = dict(MESSAGES)
+                    del m['close']
+                    for action, messages in sorted(m.items()):
                         text_content += u'\n\n* %s: %s/moderate/%s?%s' % (
                                 messages['do'], BASE_URL, action, query_string)
                         html_content += u'<li><a href="%s/moderate/%s?%s">%s</a></li>' % (