Show More
@@ -290,10 +290,12 b' collapse_all = len(diffset.files) > coll' | |||||
290 | open_comments_in_file = [x for x in comments_dict['comments'] if x.outdated is False] |
|
290 | open_comments_in_file = [x for x in comments_dict['comments'] if x.outdated is False] | |
291 | if open_comments_in_file: |
|
291 | if open_comments_in_file: | |
292 | display_state = '' |
|
292 | display_state = '' | |
|
293 | fid = str(id(filename)) | |||
293 | %> |
|
294 | %> | |
294 | <div class="filediffs filediff-outdated" style="${display_state}"> |
|
295 | <div class="filediffs filediff-outdated" style="${display_state}"> | |
295 | <input ${(collapse_all and 'checked' or '')} class="filediff-collapse-state" id="filediff-collapse-${id(filename)}" type="checkbox" onchange="updateSticky();"> |
|
296 | <input ${(collapse_all and 'checked' or '')} class="filediff-collapse-state" id="filediff-collapse-${id(filename)}" type="checkbox" onchange="updateSticky();"> | |
296 |
<div class="filediff" data-f-path="${filename}" id="a_${h.FID(fi |
|
297 | <div class="filediff" data-f-path="${filename}" id="a_${h.FID(fid, filename)}"> | |
|
298 | ||||
297 | <label for="filediff-collapse-${id(filename)}" class="filediff-heading"> |
|
299 | <label for="filediff-collapse-${id(filename)}" class="filediff-heading"> | |
298 | <div class="filediff-collapse-indicator"></div> |
|
300 | <div class="filediff-collapse-indicator"></div> | |
299 | <span class="pill"> |
|
301 | <span class="pill"> | |
@@ -304,7 +306,7 b' collapse_all = len(diffset.files) > coll' | |||||
304 | ## file op, doesn't need translation |
|
306 | ## file op, doesn't need translation | |
305 | <span class="pill" op="removed">removed in this version</span> |
|
307 | <span class="pill" op="removed">removed in this version</span> | |
306 | </span> |
|
308 | </span> | |
307 |
<a class="pill filediff-anchor" href="#a_${h.FID(fi |
|
309 | <a class="pill filediff-anchor" href="#a_${h.FID(fid, filename)}">¶</a> | |
308 | <span class="pill-group" style="float: right"> |
|
310 | <span class="pill-group" style="float: right"> | |
309 | <span class="pill" op="deleted">-${comments_dict['stats']}</span> |
|
311 | <span class="pill" op="deleted">-${comments_dict['stats']}</span> | |
310 | </span> |
|
312 | </span> |
General Comments 0
You need to be logged in to leave comments.
Login now