# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1269269817 -3600 # Mon Mar 22 15:56:57 2010 +0100 # Branch stable # Node ID 5ceb1605a0ec595980511e25aa36a01e5204f382 # Parent 17c5b99ece0fb4f5ec57554f59a6f01075fe863c ticket #474964, add margin-left around inline comment form diff --git a/data/cubes.comment.css b/data/cubes.comment.css --- a/data/cubes.comment.css +++ b/data/cubes.comment.css @@ -39,3 +39,7 @@ li.comment li.comment { margin-left: 2.8em; } + +.replyComment { + padding-left: 30px; +} diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -158,7 +158,7 @@ maxsize = self._cw.property_value('navigation.short-line-size') text = safe_cut(text, maxsize) self.w(u'<div class="commentBody">%s</div>\n' % text) - self.w(u'<div id="comment%sHolder"></div>' % entity.eid) + self.w(u'<div id="comment%sHolder" class="replyComment"></div>' % entity.eid) class CommentThreadView(TreeViewMixIn, baseviews.ListView): @@ -180,7 +180,6 @@ entity = self.cw_rset.get_entity(row, col) self.wview('inlinecommentform', None, commented=entity) - class InlineEditCommentForm(FormViewMixIn, EntityView): __regid__ = 'editcomment' __select__ = implements('Comment')