From b13937220bac0724bd0a580907a3fb4114ead57b Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 11 May 2012 00:49:34 +0000 Subject: [PATCH] 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 --- forum/actions/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.2