~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
 
293
293
        return Link(
294
294
            link, text, icon='remove', summary=(
295
 
                "Mute this bug so that you will never receive emails "
 
295
                "Mute this bug so that you will not receive emails "
296
296
                "about it."))
297
297
 
298
298
    def nominate(self):
538
538
        """Return True if the user should see the Mute link."""
539
539
        if features.getFeatureFlag('malone.advanced-subscriptions.enabled'):
540
540
            user_is_subscribed = (
541
 
                # Note that we don't have to check for isMuted(), since
542
 
                # if isMuted() is True isSubscribed() will also be
543
 
                # True.
 
541
                self.context.isMuted(self.user) or
544
542
                self.context.isSubscribed(self.user) or
545
543
                self.context.isSubscribedToDupes(self.user) or
546
544
                self.context.personIsAlsoNotifiedSubscriber(self.user))