Show More
@@ -263,8 +263,13 b' collapse_all = len(diffset.files) > coll' | |||
|
263 | 263 | |
|
264 | 264 | ## outdated comments that are made for a file that has been deleted |
|
265 | 265 | % for filename, comments_dict in (deleted_files_comments or {}).items(): |
|
266 | ||
|
267 | <div class="filediffs filediff-outdated" style="display: none"> | |
|
266 | <% | |
|
267 | display_state = 'display: none' | |
|
268 | open_comments_in_file = [x for x in comments_dict['comments'] if x.outdated is False] | |
|
269 | if open_comments_in_file: | |
|
270 | display_state = '' | |
|
271 | %> | |
|
272 | <div class="filediffs filediff-outdated" style="${display_state}"> | |
|
268 | 273 | <input ${collapse_all and 'checked' or ''} class="filediff-collapse-state" id="filediff-collapse-${id(filename)}" type="checkbox"> |
|
269 | 274 | <div class="filediff" data-f-path="${filename}" id="a_${h.FID('', filename)}"> |
|
270 | 275 | <label for="filediff-collapse-${id(filename)}" class="filediff-heading"> |
@@ -291,7 +296,7 b' collapse_all = len(diffset.files) > coll' | |||
|
291 | 296 | |
|
292 | 297 | <td></td> |
|
293 | 298 | <td class="cb-text cb-${op_class(BIN_FILENODE)}" ${c.diffmode == 'unified' and 'colspan=4' or 'colspan=5'}> |
|
294 |
${_('File was deleted in this version |
|
|
299 | ${_('File was deleted in this version. There are still outdated/unresolved comments attached to it.')} | |
|
295 | 300 | </td> |
|
296 | 301 | </tr> |
|
297 | 302 | %if c.diffmode == 'unified': |
General Comments 0
You need to be logged in to leave comments.
Login now