Skip to content

Commit

Permalink
show link that leads to the badge page, not list of all badges
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1263 0cfe37f9-358a-4d5e-be75-b63607b5c754
  • Loading branch information
jordan committed May 11, 2012
1 parent 3c3d77f commit f389671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forum/actions/user.py
Expand Up @@ -164,10 +164,10 @@ def process_action(self):
self.user.save()

self.user.message_set.create(message=_(
"""Congratulations, you have received a badge '%(badge_name)s'. <a href="%(badges_url)s">Find out who has it, too</a>."""
"""Congratulations, you have received a badge '%(badge_name)s'. <a href="%(badge_url)s">Find out who has it, too</a>."""
) % dict(
badge_name=award.badge.name,
badges_url=reverse("badges")))
badge_url=award.badge.get_absolute_url()))

def cancel_action(self):
award = self.award
Expand Down

0 comments on commit f389671

Please sign in to comment.