X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/3ef231f42d6b4d94e7cad81053e29d2dc7e7a331..f58a11f6c1d78b0d78abc9a7e21471e6efbbbf54:/forum/actions/user.py
diff --git a/forum/actions/user.py b/forum/actions/user.py
index c8e075c..94c9f17 100644
--- a/forum/actions/user.py
+++ b/forum/actions/user.py
@@ -1,4 +1,5 @@
from django.utils.translation import ungettext, ugettext as _
+from django.core.urlresolvers import reverse
from django.db.models import F
from forum.models.action import ActionProxy
from forum.models import Award, Badge, ValidationHash, User
@@ -163,9 +164,10 @@ class AwardAction(ActionProxy):
self.user.save()
self.user.message_set.create(message=_(
- """Congratulations, you have received a badge '%(badge_name)s'. Check out your profile."""
- ) %
- dict(badge_name=award.badge.name, profile_url=self.user.get_profile_url()))
+ """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")))
def cancel_action(self):
award = self.award