##// END OF EJS Templates
comments: remove helper to render a comment object....
marcink -
r1673:e3526633 default
parent child Browse files
Show More
@@ -3096,10 +3096,6 b' class ChangesetComment(Base, BaseModel):'
3096 3096 return self.get_index_from_version(
3097 3097 self.pull_request_version_id, versions)
3098 3098
3099 def render(self, mentions=False):
3100 from rhodecode.lib import helpers as h
3101 return h.render(self.text, renderer=self.renderer, mentions=mentions)
3102
3103 3099 def __repr__(self):
3104 3100 if self.comment_id:
3105 3101 return '<DB:Comment #%s>' % self.comment_id
@@ -158,7 +158,7 b''
158 158 </div>
159 159 </div>
160 160 <div class="text">
161 ${comment.render(mentions=True)|n}
161 ${h.render(comment.text, renderer=comment.renderer, mentions=True)}
162 162 </div>
163 163
164 164 </div>
General Comments 0
You need to be logged in to leave comments. Login now