From: jordan Date: Fri, 11 May 2012 00:49:34 +0000 (+0000) Subject: show link that leads to the badge page, not list of all badges X-Git-Tag: live~54 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/b13937220bac0724bd0a580907a3fb4114ead57b show link that leads to the badge page, not list of all badges git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1263 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- 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