Show More
@@ -99,7 +99,7 b'' | |||
|
99 | 99 | <div class="cs_${change}"> |
|
100 | 100 | <div class="node"> |
|
101 | 101 | %if change != 'removed': |
|
102 | ${h.link_to(h.safe_unicode(filenode.path),c.anchor_url(filenode.changeset.raw_id,filenode.path))} | |
|
102 | ${h.link_to(h.safe_unicode(filenode.path),c.anchor_url(filenode.changeset.raw_id,filenode.path)+"_target")} | |
|
103 | 103 | %else: |
|
104 | 104 | ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID('',filenode.path)))} |
|
105 | 105 | %endif |
@@ -154,11 +154,15 b'' | |||
|
154 | 154 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ |
|
155 | 155 | var show = 'none'; |
|
156 | 156 | var target = e.currentTarget; |
|
157 | console.log(target); | |
|
157 | 158 | if(target.checked){ |
|
158 | 159 | var show = '' |
|
159 | 160 | } |
|
161 | console.log('aa') | |
|
160 | 162 | var boxid = YUD.getAttribute(target,'id_for'); |
|
163 | console.log(boxid); | |
|
161 | 164 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); |
|
165 | console.log(comments) | |
|
162 | 166 | for(c in comments){ |
|
163 | 167 | YUD.setStyle(comments[c],'display',show); |
|
164 | 168 | } |
@@ -7,8 +7,8 b'' | |||
|
7 | 7 | |
|
8 | 8 | %for change,filenode,diff,cs1,cs2,stat in changes: |
|
9 | 9 | %if change !='removed': |
|
10 | <div id="${h.FID(filenode.changeset.raw_id,filenode.path)}" style="clear:both;height:90px;margin-top:-60px"></div> | |
|
11 | <div class="diffblock margined comm"> | |
|
10 | <div id="${h.FID(filenode.changeset.raw_id,filenode.path)}_target" style="clear:both;height:90px;margin-top:-60px"></div> | |
|
11 | <div id="${h.FID(filenode.changeset.raw_id,filenode.path)}" class="diffblock margined comm"> | |
|
12 | 12 | <div class="code-header"> |
|
13 | 13 | <div class="changeset_header"> |
|
14 | 14 | <div class="changeset_file"> |
General Comments 0
You need to be logged in to leave comments.
Login now