]> git.openstreetmap.org Git - osqa.git/commitdiff
merging in oscar's patch for OSQA-247. Made a the message about receiving a new...
authorrick <rick@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 14 May 2010 19:15:02 +0000 (19:15 +0000)
committerrick <rick@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 14 May 2010 19:15:02 +0000 (19:15 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@278 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/actions/user.py

index 74771a6463fca174b7087a0155127edb814d9340..1ceae09af5cda1a83ef2d7ffb3f0539f1d24e957 100644 (file)
@@ -39,8 +39,7 @@ class AwardAction(ActionProxy):
         award.save()
         award.badge.awarded_count = F('awarded_count') + 1
         award.badge.save()
-        self.user.message_set.create(message=_("""Congratulations, you have received a badge '%(badge_name)s'
-                                     Check out <a href=\"%(profile_url)s\">your profile</a>.""") %
+        self.user.message_set.create(message=_("""Congratulations, you have received a badge '%(badge_name)s'. Check out <a href=\"%(profile_url)s\">your profile</a>.""") %
                                      dict(badge_name=award.badge.name, profile_url=self.user.get_profile_url()))
 
     def cancel_action(self):