##// END OF EJS Templates
diffs: improve text on unresolved comments attached to files that no longer exist in the review....
dan -
r4319:d193c5b3 default
parent child
Show More
@@ -394,11 +394,17 return '%s_%s_%i' % (h.md5_safe(commit+f
394 </span>
394 </span>
395 <span class="pill-group pull-left" >
395 <span class="pill-group pull-left" >
396 ## file op, doesn't need translation
396 ## file op, doesn't need translation
397 <span class="pill" op="removed">removed in this version</span>
397 <span class="pill" op="removed">unresolved comments</span>
398 </span>
398 </span>
399 <a class="pill filediff-anchor" href="#a_${h.FID(fid, filename)}"></a>
399 <a class="pill filediff-anchor" href="#a_${h.FID(fid, filename)}"></a>
400 <span class="pill-group pull-right">
400 <span class="pill-group pull-right">
401 <span class="pill" op="deleted">-${comments_dict['stats']}</span>
401 <span class="pill" op="deleted">
402 % if comments_dict['stats'] >0:
403 -${comments_dict['stats']}
404 % else:
405 ${comments_dict['stats']}
406 % endif
407 </span>
402 </span>
408 </span>
403 </label>
409 </label>
404
410
@@ -410,7 +416,8 return '%s_%s_%i' % (h.md5_safe(commit+f
410
416
411 <td></td>
417 <td></td>
412 <td class="cb-text cb-${op_class(BIN_FILENODE)}" ${(c.user_session_attrs["diffmode"] == 'unified' and 'colspan=4' or 'colspan=5')}>
418 <td class="cb-text cb-${op_class(BIN_FILENODE)}" ${(c.user_session_attrs["diffmode"] == 'unified' and 'colspan=4' or 'colspan=5')}>
413 ${_('File was deleted in this version. There are still outdated/unresolved comments attached to it.')}
419 <strong>${_('This file was removed from diff during updates to this pull-request.')}</strong><br/>
420 ${_('There are still outdated/unresolved comments attached to it.')}
414 </td>
421 </td>
415 </tr>
422 </tr>
416 %if c.user_session_attrs["diffmode"] == 'unified':
423 %if c.user_session_attrs["diffmode"] == 'unified':
General Comments 0
You need to be logged in to leave comments. Login now