gitlab-org--gitlab-foss/app/views/projects/diffs/_collapsed.html.haml

6 lines
359 B
Text
Raw Normal View History

2017-06-06 17:28:06 -04:00
- diff_file = viewer.diff_file
- url = url_for(safe_params.merge(action: :diff_for_path, old_path: diff_file.old_path, new_path: diff_file.new_path, file_identifier: diff_file.file_identifier))
2017-06-06 17:28:06 -04:00
.nothing-here-block.diff-collapsed{ data: { diff_for_path: url } }
= _("This diff is collapsed.")
%button.click-to-expand.btn.btn-link= _("Click to expand it.")