X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f092d2a066bd98474491e85f3661b9b5d76ebd16..b13937220bac0724bd0a580907a3fb4114ead57b:/forum/actions/user.py diff --git a/forum/actions/user.py b/forum/actions/user.py index 94c9f17..d9c6be9 100644 --- a/forum/actions/user.py +++ b/forum/actions/user.py @@ -164,10 +164,10 @@ class AwardAction(ActionProxy): self.user.save() self.user.message_set.create(message=_( - """Congratulations, you have received a badge '%(badge_name)s'. Find out who has it, too.""" + """Congratulations, you have received a badge '%(badge_name)s'. Find out who has it, too.""" ) % dict( badge_name=award.badge.name, - badges_url=reverse("badges"))) + badge_url=award.badge.get_absolute_url())) def cancel_action(self): award = self.award