Changeset - 56e96d4e9f6e
[Not reviewed]
beta
0 5 0
Marcin Kuzminski - 14 years ago 2012-04-14 22:15:45
marcin@python-works.com
white space cleanup
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changeset.py
Show inline comments
 
@@ -373,13 +373,14 @@ class ChangesetController(BaseRepoContro
 
        data = {
 
           'target_id': h.safeid(h.safe_unicode(request.POST.get('f_path'))),
 
        }
 
        if comm:
 
            c.co = comm
 
            data.update(comm.get_dict())
 
            data.update({'rendered_text': render('changeset/changeset_comment_block.html')})
 
            data.update({'rendered_text':
 
                         render('changeset/changeset_comment_block.html')})
 
        return data
 

	
 
    @jsonify
 
    def delete_comment(self, repo_name, comment_id):
 
        co = ChangesetComment.get(comment_id)
 
        owner = lambda: co.author.user_id == c.rhodecode_user.user_id
rhodecode/templates/changeset/changeset_comment_block.html
Show inline comments
 
<%namespace name="comment" file="/changeset/changeset_file_comment.html"/>
 
${comment.comment_block(c.co)}
 
\ No newline at end of file
 
${comment.comment_block(c.co)}
0 comments (0 inline, 0 general)