# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1280737948 -7200 # Mon Aug 02 10:32:28 2010 +0200 # Branch stable # Node ID 7b74324e38bf40e3da970c2bd7b3478d35626483 # Parent 49cc166344cb73d034d6d2850a3168595cd23a8e missing leading underscore, closes #1200520 diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -212,7 +212,7 @@ def propose_to_login(self): self.w(u'<div class="warning">%s ' % self._cw._('You are not authenticated. Your comment will be anonymous if you do not <a onclick="showLoginBox()">login</a>.')) if 'registration' in self._cw.vreg.config.cubes(): - self.w(self.cw._(u' If you have no account, you may want to <a href="%s">create one</a>.') + self.w(self._cw._(u' If you have no account, you may want to <a href="%s">create one</a>.') % self._cw.build_url('register')) self.w(u'</div>')