Skip to content
Snippets Groups Projects
Commit 4cf8c1fd9d08 authored by Sandrine Ribeau's avatar Sandrine Ribeau
Browse files

[views] fix formatting

parent 8db000e5878d
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@
url = self.req.build_ajax_replace_url(
'comment%sHolder' % entity.eid, rql_for_eid(entity.eid),
'inlinecomment')
if req.cnx.anonymous_connection:
if self.req.cnx.anonymous_connection:
self.w(u' | <span class="replyto">%s <a href="%s">%s</a></span>'
% (_login_register_link(self.req),
xml_escape(url), self.req._(replyaction.title)))
......@@ -242,7 +242,7 @@
#if req.use_fckeditor() and req.property_value('ui.default-text-format') == 'text/html':
# req.fckeditor_config()
if req.cnx.anonymous_connection:
self.w(u'%s' % (_login_register_link(req), req._(u'to comment')))
self.w(u'%s %s' % (_login_register_link(req), req._(u'to comment')))
self.w(u'<div id="comment%sHolder"></div>' % eid)
if rset.rowcount:
self.w(u'<ul class="comment">')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment