~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/question.py

  • Committer: j.c.sackett
  • Date: 2011-05-02 15:21:21 UTC
  • mto: (12929.9.1 apocalyptic-messages-0)
  • mto: This revision was merged to the branch mainline in revision 13004.
  • Revision ID: jonathan.sackett@canonical.com-20110502152121-fpjnp524pv18t08w
Spam controls displaying for the right people now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1113
1113
        else:
1114
1114
            return "boardCommentBody"
1115
1115
 
 
1116
    def canSeeSpamControls(self):
 
1117
        return check_permission('launchpad.Moderate', self.context.question)
 
1118
 
1116
1119
    def getBoardCommentCSSClass(self):
1117
1120
        css_classes = ["boardComment"]
1118
1121
        if not self.context.visible: