> + "bug_reported_acknowledgement", > ] > custom_widget('bugtracker', ProductBugTrackerWidget) > > @@ -443,7 +446,7 @@ > else: > private = False > > - notifications = ["Thank you for your bug report."] > + notifications = [self.getAcknowledgementMessage(self.context)] > params = CreateBugParams( > title=title, comment=comment, owner=self.user, > security_related=security_related, private=private, > @@ -775,6 +778,47 @@ > }) > return guidelines > > + default_bug_reported_acknowledgement = "Thank you for your bug report." > + > + def getAcknowledgementMessage(self, context): > + """An acknowlegement message displayed to the user.""" > + # If a given context has not a custom message, we go up in the
Minor grammatical nit pick: "does not have a" reads better than "has not a".
« Back to merge proposal
> + "bug_reported_ acknowledgement ", widget( 'bugtracker' , ProductBugTrack erWidget) ledgementMessag e(self. context) ] related= security_ related, private=private, bug_reported_ acknowledgement = "Thank you for your bug report." entMessage( self, context):
> ]
> custom_
>
> @@ -443,7 +446,7 @@
> else:
> private = False
>
> - notifications = ["Thank you for your bug report."]
> + notifications = [self.getAcknow
> params = CreateBugParams(
> title=title, comment=comment, owner=self.user,
> security_
> @@ -775,6 +778,47 @@
> })
> return guidelines
>
> + default_
> +
> + def getAcknowledgem
> + """An acknowlegement message displayed to the user."""
> + # If a given context has not a custom message, we go up in the
Minor grammatical nit pick: "does not have a" reads better than "has not a".