~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bug.py

[r=wallyworld][bug=485126] Show a warning when a user wants to
        unsubscribe themselves from a private bug using the
        subscription overlay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
664
664
        LaunchpadView.initialize(self)
665
665
        cache = IJSONRequestCache(self.request).objects
666
666
        self.extractBugSubscriptionDetails(self.user, self.context, cache)
 
667
        cache['bug_is_private'] = self.context.private
667
668
        if self.user:
668
669
            cache['notifications_text'] = self.notifications_text
669
670