l.b.b.b.BugTasksNominationsView(LaunchpadView) : class documentation

Part of lp.bugs.browser.bugtask View In Hierarchy

Browser class for rendering the bug nominations portlet.
Method __init__ Ensure we always have a bug context.
Method displayAlsoAffectsLinks Return True if the Also Affects links should be displayed.
Method current_user_affected_status Is the current user marked as affected by this bug?
Method current_user_affected_js_status A javascript literal indicating if the user is affected.
Method other_users_affected_count The number of other users affected by this bug.
Method total_users_affected_count The number of affected users, typically across all users.
Method affected_statement The default "this bug affects" statement to show.
Method anon_affected_statement The "this bug affects" statement to show to anonymous users.
Method canAddProjectTask Undocumented
Method canAddPackageTask Undocumented
Method current_bugtask Return the current IBugTask.
def __init__(self, context, request):
Ensure we always have a bug context.
def displayAlsoAffectsLinks(self):
Return True if the Also Affects links should be displayed.
@cachedproperty
def current_user_affected_status(self):
Is the current user marked as affected by this bug?
@property
def current_user_affected_js_status(self):
A javascript literal indicating if the user is affected.
@cachedproperty
def other_users_affected_count(self):
The number of other users affected by this bug.
@cachedproperty
def total_users_affected_count(self):
The number of affected users, typically across all users.

Counting across duplicates may be disabled at run time.

@cachedproperty
def affected_statement(self):
The default "this bug affects" statement to show.

The outputs of this method should be mirrored in MeTooChoiceSource._getSourceNames() (Javascript).

@cachedproperty
def anon_affected_statement(self):
The "this bug affects" statement to show to anonymous users.

The outputs of this method should be mirrored in MeTooChoiceSource._getSourceNames() (Javascript).

def canAddProjectTask(self):
Undocumented
def canAddPackageTask(self):
Undocumented
@property
def current_bugtask(self):
Return the current IBugTask.

'current' is determined by simply looking in the ILaunchBag utility.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.