]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes a problem with i18n in the digest sender. Fixes the problem where after adding...
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 10 Nov 2010 11:44:16 +0000 (11:44 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 10 Nov 2010 11:44:16 +0000 (11:44 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@613 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/management/commands/send_email_alerts.py
forum/skins/default/media/js/osqa.main.js

index 4bc99513de53f6e6fed619ba1349d001c384a231..85b83fae6e9be646e61dd266886454e7b4877893 100644 (file)
@@ -1,5 +1,6 @@
 import datetime
 from forum.models import *
+from forum import settings
 from django.db import models
 from forum.utils.mail import send_template_email
 from django.core.management.base import NoArgsCommand
index 8d55e50b6355421734eeebddf2e44a527f38a7e3..658ac996360697a95a5f12c946059c0af5d34174 100644 (file)
@@ -651,7 +651,7 @@ function pickedTags(){
                 new_tag.addClass('deletable-tag');\r
                 var tag_link = $('<a></a>');\r
                 tag_link.attr('rel','tag');\r
-                tag_link.attr('href', scriptUrl + $.i18n._('tags/') + tagname);\r
+                tag_link.attr('href', scriptUrl + $.i18n._('tags/') + tagname + '/');\r
                 tag_link.html(tagname);\r
                 var del_link = $('<img></img>');\r
                 del_link.addClass('delete-icon');\r