Show More
@@ -665,8 +665,9 b' input.filediff-collapse-state {' | |||||
665 | width: 0; |
|
665 | width: 0; | |
666 | height: 0; |
|
666 | height: 0; | |
667 | border-style: solid; |
|
667 | border-style: solid; | |
668 |
border-width: |
|
668 | border-width: 4.5px 0 4.5px 9.3px; | |
669 |
border-color: transparent transparent transparent # |
|
669 | border-color: transparent transparent transparent #aaa; | |
|
670 | margin: 6px 0px; | |||
670 | } |
|
671 | } | |
671 | .filediff-menu { |
|
672 | .filediff-menu { | |
672 | display: none; |
|
673 | display: none; | |
@@ -679,8 +680,10 b' input.filediff-collapse-state {' | |||||
679 | width: 0; |
|
680 | width: 0; | |
680 | height: 0; |
|
681 | height: 0; | |
681 | border-style: solid; |
|
682 | border-style: solid; | |
682 |
border-width: |
|
683 | border-width: 9.3px 4.5px 0 4.5px; | |
683 |
border-color: # |
|
684 | border-color: #aaa transparent transparent transparent; | |
|
685 | margin: 6px 0px; | |||
|
686 | ||||
684 | } |
|
687 | } | |
685 | .filediff-menu { |
|
688 | .filediff-menu { | |
686 | display: block; |
|
689 | display: block; |
@@ -326,22 +326,28 b' from rhodecode.lib.diffs import NEW_FILE' | |||||
326 | ## file was renamed, or copied |
|
326 | ## file was renamed, or copied | |
327 | %if RENAMED_FILENODE in filediff.patch['stats']['ops']: |
|
327 | %if RENAMED_FILENODE in filediff.patch['stats']['ops']: | |
328 | <strong>${filediff.target_file_path}</strong> ⬅ <del>${filediff.source_file_path}</del> |
|
328 | <strong>${filediff.target_file_path}</strong> ⬅ <del>${filediff.source_file_path}</del> | |
|
329 | <% final_path = filediff.target_file_path %> | |||
329 |
|
|
330 | %elif COPIED_FILENODE in filediff.patch['stats']['ops']: | |
330 | <strong>${filediff.target_file_path}</strong> ⬅ ${filediff.source_file_path} |
|
331 | <strong>${filediff.target_file_path}</strong> ⬅ ${filediff.source_file_path} | |
|
332 | <% final_path = filediff.target_file_path %> | |||
331 | %endif |
|
333 | %endif | |
332 | %else: |
|
334 | %else: | |
333 | ## file was modified |
|
335 | ## file was modified | |
334 | <strong>${filediff.source_file_path}</strong> |
|
336 | <strong>${filediff.source_file_path}</strong> | |
|
337 | <% final_path = filediff.source_file_path %> | |||
335 |
|
|
338 | %endif | |
336 | %else: |
|
339 | %else: | |
337 | %if filediff.source_file_path: |
|
340 | %if filediff.source_file_path: | |
338 | ## file was deleted |
|
341 | ## file was deleted | |
339 | <strong>${filediff.source_file_path}</strong> |
|
342 | <strong>${filediff.source_file_path}</strong> | |
|
343 | <% final_path = filediff.source_file_path %> | |||
340 |
|
|
344 | %else: | |
341 | ## file was added |
|
345 | ## file was added | |
342 | <strong>${filediff.target_file_path}</strong> |
|
346 | <strong>${filediff.target_file_path}</strong> | |
|
347 | <% final_path = filediff.target_file_path %> | |||
343 |
|
|
348 | %endif | |
344 | %endif |
|
349 | %endif | |
|
350 | <i style="color: #aaa" class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${final_path}" title="${_('Copy the full path')}" onclick="return false;"></i> | |||
345 | </span> |
|
351 | </span> | |
346 | <span class="pill-group" style="float: left"> |
|
352 | <span class="pill-group" style="float: left"> | |
347 | %if filediff.limited_diff: |
|
353 | %if filediff.limited_diff: |
General Comments 0
You need to be logged in to leave comments.
Login now